更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Has been cancelled
Details
Docker Deploy / build-and-deploy (push) Has been cancelled
Details
This commit is contained in:
parent
c4c929528d
commit
7696ad5970
|
@ -3,7 +3,9 @@ FROM node:alpine
|
||||||
WORKDIR /gva_web/
|
WORKDIR /gva_web/
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN npm config set registry https://registry.npm.taobao.org && npm i && npm run build
|
RUN npm config set registry https://registry.npm.taobao.org
|
||||||
|
RUN npm i
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
||||||
|
|
Loading…
Reference in New Issue