From 7bfbf58e56547784212355d190313294fd54ea4a Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 00:01:12 +0800 Subject: [PATCH] init --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a6d155a..2a00b9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:current-alpine3.12 #拷贝公钥免密克隆仓库代码 RUN mkdir -p /root/.ssh -COPY .ssh/* /root/.ssh/ +COPY .ssh/id_rsa.pub /root/.ssh/ RUN chown /root/.ssh/* root:root && md5sum /root/.ssh/* && ls -la /root/.ssh/ RUN mkdir /app #拷贝自动更新部署应用的命令