From e5ec5c9ee1c6ede4b67ce70a6af14e1a8d8f651d Mon Sep 17 00:00:00 2001 From: Frank John Begornia Date: Fri, 21 Nov 2025 10:42:16 +0800 Subject: [PATCH] fix: update dependency installation commands in Dockerfile for compatibility --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76e27e9..1d592dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,8 @@ WORKDIR /app # Copy package files COPY package*.json ./ -# Install dependencies with clean cache -RUN npm ci --prefer-offline --no-audit +# Install dependencies +RUN npm install --legacy-peer-deps # Copy source code COPY . . @@ -23,8 +23,8 @@ WORKDIR /app # Copy package files COPY package*.json ./ -# Install only production dependencies with clean cache -RUN npm ci --prefer-offline --no-audit --omit=dev +# Install only production dependencies +RUN npm install --production --legacy-peer-deps # Copy built application from builder stage COPY --from=builder /app/.output ./.output