不再在docker内用root build composer了
This commit is contained in:
@@ -31,8 +31,4 @@ RUN printf "\n\n\n\n\nno\nyes\n\n" | pecl install event \
|
||||
&& chmod +x /usr/local/bin/composer \
|
||||
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||
|
||||
COPY . /SCADA
|
||||
|
||||
WORKDIR /SCADA
|
||||
|
||||
RUN composer install
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"require": {
|
||||
"workerman/workerman": "^4.0",
|
||||
"workerman/workerman": "^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"codeception/codeception": "^4.1",
|
||||
|
||||
Reference in New Issue
Block a user