diff --git a/backend/src/build/build.service.ts b/backend/src/build/build.service.ts index 94f3d3f..7b916a8 100644 --- a/backend/src/build/build.service.ts +++ b/backend/src/build/build.service.ts @@ -293,7 +293,7 @@ export class BuildService { FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && npm cache clean --force +RUN npm install --legacy-peer-deps && npm cache clean --force COPY . . # Auto-detect Next.js and enable standalone output