Browse Source

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

bubble
janpapenbrock 7 years ago
parent
commit
b2e313f3e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile 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;'

Loading…
Cancel
Save