更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Has been cancelled Details

This commit is contained in:
root 2024-08-17 22:07:24 +08:00
parent 6b8d0f65f5
commit afc30bf454
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ FROM node:alpine
WORKDIR /gva_web/ WORKDIR /gva_web/
COPY . . COPY . .
RUN npm config set registry https://registry.npm.taobao.org RUN npm config set registry https://registry.npm.taobao.org
RUN npm install -g cnpm RUN npm install -g pnpm
RUN cnpm i RUN pnpm i
RUN npm run build RUN npm run build
FROM nginx:alpine FROM nginx:alpine