From 7696ad59702aef260075beda79a022d880b27922 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Aug 2024 21:47:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20web/Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 265692ca..16b3987a 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -3,7 +3,9 @@ FROM node:alpine WORKDIR /gva_web/ 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 LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"