Use --legacy-peer-deps in Dockerfile for compatibility

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-16 15:02:46 -08:00
parent 92a4acb416
commit 478869a098

View File

@@ -12,8 +12,8 @@ WORKDIR /app
# Copy package files # Copy package files
COPY package*.json ./ COPY package*.json ./
# Install dependencies # Install dependencies (with legacy peer deps for compatibility)
RUN npm ci RUN npm ci --legacy-peer-deps
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM base AS builder FROM base AS builder