fix: use npm install --legacy-peer-deps in Docker build

This commit is contained in:
Ashwin Kumar 2026-04-09 01:19:44 +02:00
parent c3a03b7829
commit 36d26b5439

View file

@ -2,7 +2,7 @@ FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm install --legacy-peer-deps
COPY . . COPY . .
RUN npm run build RUN npm run build