Sha256: 311930cdbc1ad19f0fd1298f30fd1f2d3993b652df3d03d90a817900285907b7
Contents?: true
Size: 495 Bytes
Versions: 6
Compression:
Stored size: 495 Bytes
Contents
FROM nginx RUN apt-get update -qq && apt-get -y install apache2-utils ENV RAILS_ROOT /usr/src/app WORKDIR $RAILS_ROOT RUN mkdir log COPY public public/ # Copy Nginx config template COPY docker/containers/web/app.conf /tmp/<%= config[:app_name] %>.nginx # substitute variable references in the Nginx config template for real values from the environment # put the final config in its place RUN envsubst '$RAILS_ROOT' < /tmp/<%= config[:app_name] %>.nginx > /etc/nginx/conf.d/default.conf
Version data entries
6 entries across 6 versions & 1 rubygems