From 6261d5b1493ec38288eb2653c651ea5b189f093e Mon Sep 17 00:00:00 2001 From: Tinywan <756684177@qq.com> Date: Sat, 26 Jun 2021 10:49:50 +0800 Subject: [PATCH] --nodaemon -- run in the foreground (same as 'nodaemon=true' in config file) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7151407..72422eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,5 +44,5 @@ WORKDIR /app # Expose the port nginx is reachable on EXPOSE 8080 -# Let supervisord start nginx & php-fpm -CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] +# Let supervisord start nginx & php +CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"]