dev:解决command

This commit is contained in:
liubocheng 2025-03-26 20:21:13 +08:00
parent 1999b6b2d0
commit da92b81b5d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ services:
networks:
- laravel_net
# 启动时安装 Composer 和依赖
command: >
command:
sh -c "docker-php-ext-install pdo_mysql zip
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
&& composer install --no-dev --optimize-autoloader