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: pnpm workspace in dockerfiles
Brad Barbina0d3e8057f46
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfileindex ad9b850707..f9f7861dda 100644--- a/apps/erp/Dockerfile+++ b/apps/erp/Dockerfile@@ -24,6 +24,8 @@ ENV NODE_ENV=productionENV PORT=3000# Install curl for health checksRUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*+# Copy workspace root files so pnpm/corepack resolve correctly+COPY --from=deps /repo/package.json /repo/pnpm-lock.yaml /repo/pnpm-workspace.yaml /repo/.npmrc ./# Production needs built app, node_modules, and packages (for workspace deps)COPY --from=deps /repo/node_modules ./node_modulesCOPY --from=deps /repo/packages ./packagesdiff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfileindex 9ab5a98f88..139e10672d 100644--- a/apps/mes/Dockerfile+++ b/apps/mes/Dockerfile@@ -24,6 +24,8 @@ ENV NODE_ENV=productionENV PORT=3000# Install curl for health checksRUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*+# Copy workspace root files so pnpm/corepack resolve correctly+COPY --from=deps /repo/package.json /repo/pnpm-lock.yaml /repo/pnpm-workspace.yaml /repo/.npmrc ./# Production needs built app, node_modules, and packages (for workspace deps)COPY --from=deps /repo/node_modules ./node_modulesCOPY --from=deps /repo/packages ./packages