更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 1m40s
Details
Docker Deploy / build-and-deploy (push) Failing after 1m40s
Details
This commit is contained in:
parent
a72a346a2c
commit
fb78abe50c
|
@ -2,9 +2,9 @@ FROM node:alpine
|
|||
|
||||
WORKDIR /gva_web/
|
||||
COPY . .
|
||||
|
||||
RUN npm config set registry https://registry.npm.taobao.org
|
||||
RUN npm i
|
||||
RUN npm install -g cnpm
|
||||
RUN cnpm i
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
|
Loading…
Reference in New Issue