Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

build: increase memory in dockerfile

Brad Barbin71837080099a
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfile
index 7950fbddf8..bddc6834f1 100644
--- a/apps/erp/Dockerfile
+++ b/apps/erp/Dockerfile
@@ -18,6 +18,7 @@ FROM node:20
WORKDIR /repo
# Install specific npm version
RUN npm install -g [email protected]
+ENV NODE_OPTIONS=--max-old-space-size=4096
ENV NODE_ENV=production
ENV PORT=3000
# Install curl for health checks
diff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfile
index ee24753355..c888cf1913 100644
--- a/apps/mes/Dockerfile
+++ b/apps/mes/Dockerfile
@@ -20,6 +20,7 @@ WORKDIR /repo
RUN npm install -g [email protected]
ENV NODE_ENV=production
ENV PORT=3000
+ENV NODE_OPTIONS=--max-old-space-size=4096
# Install curl for health checks
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Production needs built app, node_modules, and packages (for workspace deps)