Skip to content

Commit ac09a63

Browse files
committed
Set command in dockerfile explicitly
Overwrites the command in the base image which specifies "daemon off". Ensure we're not passing "daemon off" twice, which resultes in an error.
1 parent d3db663 commit ac09a63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ COPY ./config/ /etc/nginx/
5858
STOPSIGNAL SIGQUIT
5959
EXPOSE 8080
6060
USER nginx:nginx
61+
62+
CMD ["nginx"]

0 commit comments

Comments
 (0)