优化dockerfile

This commit is contained in:
augushong
2024-05-15 16:14:24 +08:00
parent 7212f1f857
commit a316759a99

View File

@@ -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目录