|
@ -7,6 +7,9 @@ RUN echo "{\"time\":\"$BUILD_TIMESTAMP\",\"build\": \"$BUILD_NUMBER\",\"revision |
|
|
RUN npm cache clean -f |
|
|
RUN npm cache clean -f |
|
|
RUN rm -rf package-lock.json |
|
|
RUN rm -rf package-lock.json |
|
|
RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ |
|
|
RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ |
|
|
|
|
|
|
|
|
|
|
|
ls -al |
|
|
|
|
|
|
|
|
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12 |
|
|
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12 |
|
|
COPY --from=builder --chown=node /var/app /home/node/app |
|
|
COPY --from=builder --chown=node /var/app /home/node/app |
|
|
WORKDIR /home/node/app |
|
|
WORKDIR /home/node/app |
|
|