diff --git a/glibc/Dockerfile b/glibc/Dockerfile index dbddaf2..01883b2 100644 --- a/glibc/Dockerfile +++ b/glibc/Dockerfile @@ -76,4 +76,5 @@ COPY rootfs / STOPSIGNAL SIGTERM -CMD ["/nginx", "-g", "daemon off;"] +ENTRYPOINT ["/nginx"] +CMD ["-g", "daemon off;"] diff --git a/musl/Dockerfile b/musl/Dockerfile index ad25ae4..34572c1 100644 --- a/musl/Dockerfile +++ b/musl/Dockerfile @@ -65,4 +65,5 @@ COPY rootfs / STOPSIGNAL SIGTERM -CMD ["/nginx", "-g", "daemon off;"] +ENTRYPOINT ["/nginx"] +CMD ["-g", "daemon off;"]