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