From 1dfb72ba09d364aa29cb8f186bb8b9d4ca8f364f Mon Sep 17 00:00:00 2001 From: mukeshs Date: Thu, 16 Oct 2025 18:59:40 +0530 Subject: [PATCH] docker update --- fuse-starter-v20.0.0/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fuse-starter-v20.0.0/Dockerfile b/fuse-starter-v20.0.0/Dockerfile index a73d96e..3f810de 100644 --- a/fuse-starter-v20.0.0/Dockerfile +++ b/fuse-starter-v20.0.0/Dockerfile @@ -1,9 +1,17 @@ # Stage 1: Build Angular app FROM node:18-alpine as build WORKDIR /app + +# Install build dependencies +RUN apk add --no-cache python3 make g++ + COPY package*.json ./ RUN npm ci --legacy-peer-deps + COPY . . + +# Increase Node memory and use faster build +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN npm run build -- --configuration production # Stage 2: Serve via Nginx