diff --git a/Dockerfile b/Dockerfile index e05ee20..e0228a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM node:current-alpine3.12 #拷贝公钥免密克隆仓库代码 -COPY .ssh /root/ +RUN mkdir -p /root/.ssh +COPY .ssh/* /root/.ssh/ RUN md5sum /root/.ssh/* RUN mkdir /app #拷贝自动更新部署应用的命令