更新 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/
|
||||
COPY . .
|
||||
RUN npm config set registry https://registry.npm.taobao.org
|
||||
RUN npm i
|
||||
RUN npm run build
|
||||
RUN yarn config set registry https://registry.npm.taobao.org
|
||||
RUN yarn && yarn build
|
||||
|
||||
FROM nginx:alpine
|
||||
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
||||
|
|
Loading…
Reference in New Issue