From e0a7649f7d82ae28d968199f00c293df0737e344 Mon Sep 17 00:00:00 2001 From: Reviflow Bot Date: Sat, 31 Jan 2026 11:54:31 +0100 Subject: [PATCH] fix(docker): switch to npm install and increase memory limit for robust build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c57e094..5c0c455 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM node:20-alpine as frontend-build WORKDIR /app/frontend COPY frontend/package*.json ./ -RUN npm ci +ENV NODE_OPTIONS="--max-old-space-size=4096" +RUN npm install COPY frontend/ ./ RUN mkdir -p /app/backend/static && npm run build