|
|
@ -2,7 +2,7 @@ FROM node:current-alpine3.12 |
|
|
|
|
|
|
|
|
|
|
|
#拷贝公钥免密克隆仓库代码 |
|
|
|
#拷贝公钥免密克隆仓库代码 |
|
|
|
RUN mkdir -p /root/.ssh |
|
|
|
RUN mkdir -p /root/.ssh |
|
|
|
COPY .ssh/* /root/.ssh/ |
|
|
|
COPY .ssh/id_rsa.pub /root/.ssh/ |
|
|
|
RUN chown /root/.ssh/* root:root && md5sum /root/.ssh/* && ls -la /root/.ssh/ |
|
|
|
RUN chown /root/.ssh/* root:root && md5sum /root/.ssh/* && ls -la /root/.ssh/ |
|
|
|
RUN mkdir /app |
|
|
|
RUN mkdir /app |
|
|
|
#拷贝自动更新部署应用的命令 |
|
|
|
#拷贝自动更新部署应用的命令 |
|
|
|