We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020f09a commit 70f101bCopy full SHA for 70f101b
1 file changed
Dockerfile
@@ -8,7 +8,7 @@ WORKDIR /app
8
COPY package*.json ./
9
10
# Install ALL dependencies (including dev dependencies for build)
11
-RUN npm ci && npm cache clean --force
+RUN npm ci --legacy-peer-deps && npm cache clean --force
12
13
# Copy source code
14
COPY . .
@@ -39,7 +39,7 @@ WORKDIR /app
39
40
41
# Install only production dependencies
42
-RUN npm ci --omit=dev && npm cache clean --force
+RUN npm ci --omit=dev --legacy-peer-deps && npm cache clean --force
43
44
# Set NODE_ENV explicitly
45
ENV NODE_ENV=production
0 commit comments