Skip to content

Commit 70f101b

Browse files
committed
docker
1 parent 020f09a commit 70f101b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /app
88
COPY package*.json ./
99

1010
# Install ALL dependencies (including dev dependencies for build)
11-
RUN npm ci && npm cache clean --force
11+
RUN npm ci --legacy-peer-deps && npm cache clean --force
1212

1313
# Copy source code
1414
COPY . .
@@ -39,7 +39,7 @@ WORKDIR /app
3939
COPY package*.json ./
4040

4141
# Install only production dependencies
42-
RUN npm ci --omit=dev && npm cache clean --force
42+
RUN npm ci --omit=dev --legacy-peer-deps && npm cache clean --force
4343

4444
# Set NODE_ENV explicitly
4545
ENV NODE_ENV=production

0 commit comments

Comments
 (0)