dev:解决command
This commit is contained in:
parent
1999b6b2d0
commit
da92b81b5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue