diff --git a/Dockerfile b/Dockerfile index 5c99769..5245014 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ RUN apt-get install -y git # 内部安装compsoer并安装依赖,如果不需要可以注释掉 RUN apt install unzip RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +ENV COMPOSER_ALLOW_SUPERUSER=1 RUN composer install # 创建runtime目录