mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +08:00
优化dockerfile
This commit is contained in:
@@ -56,6 +56,7 @@ RUN apt-get install -y git
|
|||||||
# 内部安装compsoer并安装依赖,如果不需要可以注释掉
|
# 内部安装compsoer并安装依赖,如果不需要可以注释掉
|
||||||
RUN apt install unzip
|
RUN apt install unzip
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
RUN composer install
|
RUN composer install
|
||||||
|
|
||||||
# 创建runtime目录
|
# 创建runtime目录
|
||||||
|
|||||||
Reference in New Issue
Block a user