chore: 优化docker 容器启动速度

This commit is contained in:
xboard 2024-04-15 03:19:48 +08:00
parent 5659bd96f2
commit f72df9df27

View File

@ -14,4 +14,4 @@ RUN composer install --optimize-autoloader --no-cache --no-dev \
&& chown -R www:www /www \
&& chmod -R 775 /www
CMD ["sh", "-c", "chown -R www:www /www && chmod -R 775 /www && /usr/bin/supervisord --nodaemon -c /etc/supervisor/supervisord.conf"]
CMD chown -R www:www /www ; chmod -R 775 /www ; /usr/bin/supervisord --nodaemon -c /etc/supervisor/supervisord.conf