mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
更新dockerfile
This commit is contained in:
@@ -50,6 +50,9 @@ WORKDIR /var/www/html
|
|||||||
# 将当前目录下的文件拷贝到工作目录
|
# 将当前目录下的文件拷贝到工作目录
|
||||||
COPY . /var/www/html
|
COPY . /var/www/html
|
||||||
|
|
||||||
|
# 安装git
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user