不再在docker内用root build composer了

This commit is contained in:
Yu Sun
2022-07-01 22:18:15 +08:00
parent 339706884e
commit cd3f6d6621
2 changed files with 1 additions and 5 deletions

View File

@@ -31,8 +31,4 @@ RUN printf "\n\n\n\n\nno\nyes\n\n" | pecl install event \
&& chmod +x /usr/local/bin/composer \ && chmod +x /usr/local/bin/composer \
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ && composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
COPY . /SCADA
WORKDIR /SCADA WORKDIR /SCADA
RUN composer install

View File

@@ -1,6 +1,6 @@
{ {
"require": { "require": {
"workerman/workerman": "^4.0", "workerman/workerman": "^4.0"
}, },
"require-dev": { "require-dev": {
"codeception/codeception": "^4.1", "codeception/codeception": "^4.1",