mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-04 09:02:49 +08:00
更新dockfile
This commit is contained in:
@@ -45,6 +45,11 @@ WORKDIR /var/www/html
|
||||
# 将当前目录下的文件拷贝到工作目录
|
||||
COPY . /var/www/html
|
||||
|
||||
# 内部安装compsoer并安装依赖,如果不需要可以注释掉
|
||||
RUN apt install unzip
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
RUN composer install
|
||||
|
||||
# 创建runtime目录
|
||||
RUN mkdir -p /var/www/html/runtime
|
||||
RUN chmod -R 777 /var/www/html/runtime
|
||||
|
||||
Reference in New Issue
Block a user