From 764327a8cf560704d558b87478f6574efaf18b5f Mon Sep 17 00:00:00 2001 From: iris_cx Date: Thu, 7 Dec 2023 07:52:16 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'api/Dockerfilenew'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/Dockerfilenew | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/Dockerfilenew b/api/Dockerfilenew index 657960e..2057120 100644 --- a/api/Dockerfilenew +++ b/api/Dockerfilenew @@ -1,4 +1,4 @@ -FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder +FROM registry.ngaiot.com/base-images/node:12-fs-dev-35 as builder COPY ./api/ /var/app WORKDIR /var/app EXPOSE 8080 @@ -7,7 +7,7 @@ RUN echo "{\"time\":\"$BUILD_TIMESTAMP\",\"build\": \"$BUILD_NUMBER\",\"revision RUN npm cache clean -f RUN rm -rf package-lock.json RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/ -FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12 +FROM registry.ngaiot.com/base-images/node:12-fs-prod-40 COPY --from=builder --chown=node /var/app /home/node/app WORKDIR /home/node/app CMD ["node", "server.js"] \ No newline at end of file