Merge pull request #2691 from hochzehn/docker-exitable

Attach nginx process to PID 1 so the container can be stopped properly.
This commit is contained in:
Tony Tam
2017-02-23 21:29:06 -08:00
committed by GitHub

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;'