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 . .