From e1ed25b154cbfb5e6f103c47732dfc6bbdae021c Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 01:32:50 +0800 Subject: [PATCH] init --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eda6cc0..54548e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN mkdir /app #拷贝自动更新部署应用的命令 COPY shell/* /app/ #为命令建立软链接 - +RUN ln -s /app/* /usr/local/bin/ && chmod +x /app/* #使用阿里云镜像源安装git和openssh RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add git openssh #拷贝应用代码