From f3eeaa2f27025266aabb2a7ca530b62010c501b4 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Thu, 4 Dec 2025 22:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B9=85=E8=B0=83=E6=95=B4=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=89=88=E6=9C=AC=EF=BC=8C=E5=BE=85=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index c010e4d..9f4c62c 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,8 +11,8 @@ RUN npm config set registry https://registry.npmmirror.com # Copy package files COPY package*.json ./ -# Install dependencies -RUN npm install +# Install dependencies with legacy peer deps to handle React 19 compatibility +RUN npm install --legacy-peer-deps # Copy source code COPY . .