Skip to content

Commit

Permalink
Add an ENTRYPOINT
Browse files Browse the repository at this point in the history
[refs #c343aee01da3]
  • Loading branch information
jfahrer committed May 5, 2018
1 parent a7ead1f commit 1cdc3a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions entrypoints/nginx/Dockerfile
Expand Up @@ -3,6 +3,6 @@ FROM nginx:1.13.8
ENV NGINX_PORT 80

COPY default.conf /etc/nginx/conf.d/default.conf
COPY start.sh /
COPY docker-entrypoint.sh /

CMD ["/start.sh"]
ENTRYPOINT ["/docker-entrypoint.sh"]
Expand Up @@ -2,4 +2,4 @@
mv /etc/nginx/conf.d/default.conf /tmp/default.conf
envsubst < /tmp/default.conf > /etc/nginx/conf.d/default.conf

exec nginx -g "daemon off;"
nginx -t

0 comments on commit 1cdc3a1

Please sign in to comment.