Skip to content

Commit

Permalink
chore: 优化docker 容器启动速度
Browse files Browse the repository at this point in the history
  • Loading branch information
xboard committed Apr 14, 2024
1 parent 5659bd9 commit f72df9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f72df9d

Please sign in to comment.