Skip to content

Commit 0beaf61

Browse files
authored
Merge pull request #2691 from hochzehn/docker-exitable
Attach nginx process to PID 1 so the container can be stopped properly.
2 parents 6f1b09e + b2e313f commit 0beaf61

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)