From ebb35061730662c9507cffe4d7fb0510d0c46962 Mon Sep 17 00:00:00 2001 From: xiamuceer-j Date: Tue, 20 Jan 2026 09:26:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BAdock?= =?UTF-8?q?er=E7=94=B1=E4=BA=8E=E5=89=8D=E7=AB=AF=E5=9B=A0=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E6=BA=90=E4=B8=8D=E4=B8=80=E8=87=B4=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 617b429..be264fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,9 @@ COPY frontend/package*.json ./ # 使用国内npm镜像加速 RUN npm config set registry https://registry.npmmirror.com +# 删除 package-lock.json 以SC避免因镜像源不一致导致的 404 错误 +RUN rm -f package-lock.json + # 安装依赖 RUN npm install