Skip to content

Commit f01a6bd

Browse files
committed
Make sure that nginx becomes PID1
[refs #39f59d255af4]
1 parent db9cadf commit f01a6bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ FROM debian:buster-slim
33
RUN apt-get update
44
RUN apt-get install -y nginx
55

6-
CMD nginx -g 'daemon off;'
6+
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]
7+

0 commit comments

Comments
 (0)