--nodaemon -- run in the foreground (same as 'nodaemon=true' in config file)

This commit is contained in:
Tinywan 2021-06-26 10:49:50 +08:00
parent cdcd995185
commit 6261d5b149

View File

@ -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"]