From 47a251e92dd981f88b7658c3e753d092cdf84d39 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 18 Aug 2024 08:25:51 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 5acc1fe3..2fcf7caa 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /gva_web/ 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 config set registry https://mirrors.huaweicloud.com/repository/npm/ RUN npm install RUN npm run build