Sha256: 68a4a0aaa8c17b0aea654f43ac482639b505a4af889bf6f7243039bd769f9e8d
Contents?: true
Size: 475 Bytes
Versions: 7
Compression:
Stored size: 475 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/docker_example.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/docker_example.nginx > /etc/nginx/conf.d/default.conf
Version data entries
7 entries across 7 versions & 1 rubygems