不再在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 \
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
COPY . /SCADA
WORKDIR /SCADA
RUN composer install