From b165d65acb40ae786ce6ec2dd1ad2b5ec49d1b32 Mon Sep 17 00:00:00 2001 From: saiminh Date: Mon, 16 Feb 2026 11:05:33 +0100 Subject: [PATCH] legace peer deps --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9609c9..64bbd81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM node:24.13.1-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm ci --legacy-peer-deps COPY . . RUN npm run build @@ -19,7 +19,7 @@ WORKDIR /app RUN npm install -g pm2 COPY package*.json ./ -RUN npm ci --only=production && npm cache clean --force +RUN npm ci --only=production --legacy-peer-deps && npm cache clean --force COPY --from=builder /app/build ./build COPY --from=builder /app/ecosystem.config.cjs ./ecosystem.config.cjs