master
pan 4 years ago
parent b1eda7aaf8
commit 35cdcfacd4
  1. 5
      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/

Loading…
Cancel
Save