更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 31s
Details
Docker Deploy / build-and-deploy (push) Failing after 31s
Details
This commit is contained in:
parent
54c3e5f06f
commit
711166c910
|
@ -3,7 +3,8 @@ FROM node:alpine
|
||||||
WORKDIR /gva_web/
|
WORKDIR /gva_web/
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn config set registry https://registry.npm.taobao.org
|
RUN yarn config set registry https://registry.npm.taobao.org
|
||||||
RUN yarn && yarn build
|
RUN yarn
|
||||||
|
RUN yarn 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