更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 1m47s Details

This commit is contained in:
root 2024-08-17 20:48:37 +08:00
parent 00106c960e
commit 8c37872628
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
FROM node:18
FROM node:16
WORKDIR /gva_web/
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
FROM nginx:alpine