diff --git a/docker/Dockerfile b/docker/Dockerfile index cf68d16..e2f9faf 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,7 +4,7 @@ FROM registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74 # 要想复制其他文件 就必须把dockerfile和其他文件放一起 # 这里复制了这个项目的所有 -COPY. /var/www +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 \