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