From 41d4289ffd346590951d0c0ea696f11d1d77fa23 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Fri, 9 Oct 2020 23:45:04 +0800 Subject: [PATCH] init --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffea56b..e0228a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM node:current-alpine3.12 #拷贝公钥免密克隆仓库代码 -RUN ls -la /root/ -COPY .ssh /root/ +RUN mkdir -p /root/.ssh +COPY .ssh/* /root/.ssh/ RUN md5sum /root/.ssh/* RUN mkdir /app #拷贝自动更新部署应用的命令