Skip to content

Commit b2e313f

Browse files
committed
Attach nginx process to PID 1 so the container can be stopped properly.
1 parent 6f1b09e commit b2e313f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ ADD ./dist/ /usr/share/nginx/html
1010

1111
EXPOSE 8080
1212

13-
CMD nginx -g 'daemon off;'
13+
CMD exec nginx -g 'daemon off;'

0 commit comments

Comments
 (0)