From 711166c910d5eef2a0b513b6e864956885056290 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Aug 2024 22:38:32 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index ddf7f94a..9288cdab 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -3,7 +3,8 @@ FROM node:alpine WORKDIR /gva_web/ COPY . . RUN yarn config set registry https://registry.npm.taobao.org -RUN yarn && yarn build +RUN yarn +RUN yarn build FROM nginx:alpine LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"