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