We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd66f5 commit 5677fb7Copy full SHA for 5677fb7
1 file changed
Dockerfile
@@ -7,7 +7,7 @@ WORKDIR /app
7
COPY package.json package-lock.json ./
8
9
# Install dependencies (full install for build)
10
-RUN npm ci && npm cache clean --force
+RUN npm ci --legacy-peer-deps && npm cache clean --force
11
12
# Copy source
13
COPY tsconfig.json ./
@@ -22,7 +22,7 @@ FROM node:22-alpine AS prod-deps
22
WORKDIR /app
23
24
25
-RUN npm ci --only=production --ignore-scripts && npm cache clean --force
+RUN npm ci --legacy-peer-deps --only=production --ignore-scripts && npm cache clean --force
26
27
# Stage 3: Runtime
28
FROM node:22-alpine AS runtime
0 commit comments