fix: ap9
continuous-integration/drone/tag Build is passing Details

develop v0.40
Unshift 2025-09-26 11:50:34 +08:00
parent 235260427d
commit 2e85e73991
1 changed files with 1 additions and 4 deletions

View File

@ -5,10 +5,7 @@ FROM registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74
# 这里复制了这个项目的所有
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
RUN ls -al /var/www
# CMD不同于RUNCMD用于指定在容器启动时所要执行的命令而RUN用于指定镜像构建时所要执行的命令