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

This commit is contained in:
root 2024-08-17 22:01:24 +08:00
parent a72a346a2c
commit fb78abe50c
1 changed files with 2 additions and 2 deletions

View File

@ -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