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