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

This commit is contained in:
root 2024-08-17 20:53:33 +08:00
parent 8c37872628
commit a8a6c03794
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,7 @@ FROM node:16
WORKDIR /gva_web/ WORKDIR /gva_web/
COPY . . COPY . .
RUN npm i -g cnpm --registry=https://registry.npm.taobao.org RUN npm i && npm run build
RUN cnpm i && npm run build
FROM nginx:alpine FROM nginx:alpine
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com" LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"