diff --git a/Dockerfile b/Dockerfile index 7b21a00..25102ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN mkdir /app #拷贝自动更新部署应用的命令 COPY shell/* /app/ #使用阿里云镜像源安装git -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git openssh #拷贝应用代码 WORKDIR /app #git web钩子服务端