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

This commit is contained in:
root 2024-08-17 21:47:13 +08:00
parent c4c929528d
commit 7696ad5970
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@ FROM node:alpine
WORKDIR /gva_web/ WORKDIR /gva_web/
COPY . . COPY . .
RUN npm config set registry https://registry.npm.taobao.org && npm i && npm run build RUN npm config set registry https://registry.npm.taobao.org
RUN npm i
RUN npm run build
FROM nginx:alpine FROM nginx:alpine
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com" LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"