Browse Source

更新 'api/Dockerfilenew'

dev
iris_cx 2 years ago
parent
commit
b432407fc5
  1. 2
      api/Dockerfilenew

2
api/Dockerfilenew

@ -1,5 +1,5 @@
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder
COPY . /var/app COPY ./api /var/app
WORKDIR /var/app WORKDIR /var/app
EXPOSE 8080 EXPOSE 8080
RUN npm config set registry=https://nexus.ngaiot.com/repository/fs-npm/ RUN npm config set registry=https://nexus.ngaiot.com/repository/fs-npm/

Loading…
Cancel
Save