parent
935d860570
commit
1753ce0c76
|
|
@ -4,7 +4,7 @@ FROM registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74
|
||||||
# 要想复制其他文件 就必须把dockerfile和其他文件放一起
|
# 要想复制其他文件 就必须把dockerfile和其他文件放一起
|
||||||
# 这里复制了这个项目的所有
|
# 这里复制了这个项目的所有
|
||||||
|
|
||||||
COPY. /var/www
|
COPY . /var/www
|
||||||
RUN sed -i's/http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian/http:\/\/deb.debian.org\/debian/g' /etc/apt/sources.list \
|
RUN sed -i's/http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian/http:\/\/deb.debian.org\/debian/g' /etc/apt/sources.list \
|
||||||
&& apt-get update && apt-get install -y tree \
|
&& apt-get update && apt-get install -y tree \
|
||||||
&& ls -al /var/www \
|
&& ls -al /var/www \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue