Browse Source

更新 'web/Dockerfilenew'

dev
凌文龙 2 years ago
parent
commit
3508d6dd45
  1. 5
      web/Dockerfilenew

5
web/Dockerfilenew

@ -1,6 +1,9 @@
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder
COPY . /var/app
WORKDIR /var/app
COPY ./web/ /var/app
EXPOSE 8080
RUN npm config set registry=https://nexus.ngaiot.com/repository/fs-npm/
RUN echo "{\"time\":\"$BUILD_TIMESTAMP\",\"build\": \"$BUILD_NUMBER\",\"revision\": \"$SVN_REVISION_1\",\"URL\":\"$SVN_URL_1\"}" > version.json

Loading…
Cancel
Save