Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
updating nginx to 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Deric Miguel committed Aug 23, 2017
1 parent fc69d8f commit eab4ce7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM nginx:1.9.7
FROM nginx:1.10
COPY index.html /usr/share/nginx/html/
COPY mysite.template /etc/nginx/conf.d/
# Add a dummy test path to simplify local testing
ENV SERVICE_PATH testpath


CMD /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"

0 comments on commit eab4ce7

Please sign in to comment.