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
build: fix docker build for lingui
Brad Barbine9d88caa6a31
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfileindex 13f9f5b18d..50e2bca7c5 100644--- a/apps/erp/Dockerfile+++ b/apps/erp/Dockerfile@@ -3,7 +3,7 @@ WORKDIR /repo# Install specific npm versionRUN npm install -g [email protected]# Copy root manifests for workspaces-COPY package.json package-lock.json turbo.json ./+COPY package.json package-lock.json turbo.json lingui.config.js ./# Copy only what we need to install and buildCOPY apps ./appsCOPY packages ./packages@@ -14,7 +14,7 @@ FROM deps AS buildARG NODE_OPTIONSENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=4096"}# Build only ERP and its deps-RUN cd apps/erp && npx lingui compile --config ../../lingui.config.js && cd ../..+RUN npx lingui compileRUN npx turbo run build --filter=./apps/erpFROM node:20-slimdiff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfileindex f0efbad2b4..91a6c57567 100644--- a/apps/mes/Dockerfile+++ b/apps/mes/Dockerfile@@ -3,7 +3,7 @@ WORKDIR /repo# Install specific npm versionRUN npm install -g [email protected]# Copy root manifests for workspaces-COPY package.json package-lock.json turbo.json ./+COPY package.json package-lock.json turbo.json lingui.config.js ./# Copy only what we need to install and buildCOPY apps ./appsCOPY packages ./packages@@ -14,7 +14,7 @@ FROM deps AS buildARG NODE_OPTIONSENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=4096"}# Build only MES and its deps-RUN cd apps/mes && npx lingui compile --config ../../lingui.config.js && cd ../..+RUN npx lingui compileRUN npx turbo run build --filter=./apps/mesFROM node:20-slim