更新dockerfile

This commit is contained in:
2024-04-11 18:17:29 +08:00
parent e3bcfbb09c
commit f162031f00

View File

@@ -50,6 +50,9 @@ WORKDIR /var/www/html
# 将当前目录下的文件拷贝到工作目录
COPY . /var/www/html
# 安装git
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