fix: ap7
continuous-integration/drone/tag Build is failing Details

develop v0.36
Unshift 2025-09-26 11:43:08 +08:00
parent 1753ce0c76
commit 279ef12a0b
1 changed files with 2 additions and 2 deletions

View File

@ -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