Sha256: 2b4c854bdc572aea1fb1010366a6ab17ecae402b1241a7dc62fb20518ce9f554
Contents?: true
Size: 464 Bytes
Versions: 19
Compression:
Stored size: 464 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/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
19 entries across 19 versions & 2 rubygems