splitted CMD into ENTRYPOINT+CMD

This commit is contained in:
Ricard Bejarano 2019-04-26 08:55:33 +02:00
parent 86f5cba76c
commit 8c924a25b6
No known key found for this signature in database
GPG key ID: 5A5105DD6B91CA19
2 changed files with 4 additions and 2 deletions

View file

@ -76,4 +76,5 @@ COPY rootfs /
STOPSIGNAL SIGTERM
CMD ["/nginx", "-g", "daemon off;"]
ENTRYPOINT ["/nginx"]
CMD ["-g", "daemon off;"]

View file

@ -65,4 +65,5 @@ COPY rootfs /
STOPSIGNAL SIGTERM
CMD ["/nginx", "-g", "daemon off;"]
ENTRYPOINT ["/nginx"]
CMD ["-g", "daemon off;"]