legace peer deps

This commit is contained in:
saiminh 2026-02-16 11:05:33 +01:00
parent 63af976671
commit b165d65acb

View file

@ -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