From f08278c365e218fffdf30b71a5d0ea87b0909844 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 15:47:41 +0800 Subject: [PATCH] init --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index c7db518..9d3202f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM node:current-alpine3.12 #拷贝公钥免密克隆仓库代码 COPY .ssh /root/.ssh +#拷贝到容器里的密钥需要修改权限才能正常使用 RUN chmod 400 /root/.ssh/id_rsa RUN mkdir /app #拷贝自动更新部署应用的命令