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

develop v0.34
Unshift 2025-09-26 11:31:41 +08:00
parent 06d067616e
commit 935d860570
2 changed files with 6 additions and 3 deletions

View File

@ -26,7 +26,8 @@ steps:
from_secret: aliyun_acr_password from_secret: aliyun_acr_password
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
tags: ${DRONE_TAG} tags: ${DRONE_TAG}
after_script:
- ls -a
# - name: deploy-pull-project # - name: deploy-pull-project
# depends_on: # depends_on:
# - deploy-push-images # - deploy-push-images

View File

@ -5,10 +5,12 @@ FROM registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74
# 这里复制了这个项目的所有 # 这里复制了这个项目的所有
COPY. /var/www COPY. /var/www
RUN apt-get update && apt-get install -y tree \ 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 \
&& ls -al /var/www \ && ls -al /var/www \
&& tree -L 2 /var/www && tree -L 2 /var/www
# CMD不同于RUNCMD用于指定在容器启动时所要执行的命令而RUN用于指定镜像构建时所要执行的命令 # CMD不同于RUNCMD用于指定在容器启动时所要执行的命令而RUN用于指定镜像构建时所要执行的命令
# CMD只运行出现一次 多次出现只会执行最后一个 # CMD只运行出现一次 多次出现只会执行最后一个
# 启动 hyperf 框架 并且 启动Nginx 服务器 # 启动 hyperf 框架 并且 启动Nginx 服务器