Attach nginx process to PID 1 so the container can be stopped properly.

This commit is contained in:
janpapenbrock
2017-02-23 17:55:16 +01:00
parent 6f1b09e7ef
commit b2e313f3e3

View File

@@ -10,4 +10,4 @@ ADD ./dist/ /usr/share/nginx/html
EXPOSE 8080
CMD nginx -g 'daemon off;'
CMD exec nginx -g 'daemon off;'