更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 1m47s
Details
Docker Deploy / build-and-deploy (push) Failing after 1m47s
Details
This commit is contained in:
parent
00106c960e
commit
8c37872628
|
@ -1,8 +1,8 @@
|
||||||
FROM node:18
|
FROM node:16
|
||||||
|
|
||||||
WORKDIR /gva_web/
|
WORKDIR /gva_web/
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
|
RUN npm i -g cnpm --registry=https://registry.npm.taobao.org
|
||||||
RUN cnpm i && npm run build
|
RUN cnpm i && npm run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
Loading…
Reference in New Issue