From 84ccf8e5752b5b7d9ce4edf2705b7e94334b8084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Tue, 21 Jul 2026 17:40:41 +0800 Subject: [PATCH] =?UTF-8?q?ng=E4=BB=A3=E7=90=86minio=E6=94=AF=E6=8C=81webs?= =?UTF-8?q?ocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81d4b010..e5a56a0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories WORKDIR /app -COPY frontend/package*.json ./ -RUN npm install --registry=https://registry.npmmirror.com - COPY frontend/ . -RUN npm run build +RUN npm install --registry=https://registry.npmmirror.com && \ + npm run build # ========== 构建 Go 后端 ==========