From e34c48ea7b51d7de3a61b197d89bfbb00dbde0e8 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Aug 2024 22:54:42 +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 56d25692..5acc1fe3 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -5,7 +5,8 @@ COPY . . RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories RUN apk add npm RUN npm config set registry https://npm.aliyun.com -RUN npm install && npm run build +RUN npm install +RUN npm run build FROM nginx:alpine LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"