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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(docker): the heap limit applies to the install step that generates the MCP manifest
Sidwebworks3ad23fe70db8
diff --git a/Dockerfile b/Dockerfileindex 3628a6bc09..fba3900c2a 100644--- a/Dockerfile+++ b/Dockerfile@@ -21,6 +21,10 @@ COPY patches ./patchesCOPY scripts ./scripts# @carbon/content (glossary, the agent's doc corpus) lives with the docs it serves.COPY docs/content ./docs/content+# Set before the install: its postinstall runs //#generate:mcp, which needs more+# than node's default ~2 GB heap. Inherited by `build`.+ARG NODE_OPTIONS="--max-old-space-size=8024"+ENV NODE_OPTIONS=${NODE_OPTIONS}RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store,sharing=locked \pnpm install --frozen-lockfile@@ -31,8 +35,6 @@ ARG APP# same-origin — the controlled/air-gapped variant is this default, not a flag.ARG ASSETS_URLENV ASSETS_URL=${ASSETS_URL}-ARG NODE_OPTIONS="--max-old-space-size=8024"-ENV NODE_OPTIONS=${NODE_OPTIONS}RUN --mount=type=cache,id=turbo,target=/repo/.turbo,sharing=locked \pnpm run build:${APP}# Build scratch `runner` must not inherit: .vite is the dep-optimizer cache,