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: fix lingui for docker files

Brad Barbin2f0636e715df
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfile
index 9ece462341..13f9f5b18d 100644
--- a/apps/erp/Dockerfile
+++ b/apps/erp/Dockerfile
@@ -14,7 +14,7 @@ FROM deps AS build
ARG NODE_OPTIONS
ENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=4096"}
# Build only ERP and its deps
-RUN cd apps/erp && npx lingui compile && cd ../..
+RUN cd apps/erp && npx lingui compile --config ../../lingui.config.js && cd ../..
RUN npx turbo run build --filter=./apps/erp
FROM node:20-slim
diff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfile
index e19d88a5b1..f0efbad2b4 100644
--- a/apps/mes/Dockerfile
+++ b/apps/mes/Dockerfile
@@ -14,7 +14,7 @@ FROM deps AS build
ARG NODE_OPTIONS
ENV NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=4096"}
# Build only MES and its deps
-RUN cd apps/mes && npx lingui compile && cd ../..
+RUN cd apps/mes && npx lingui compile --config ../../lingui.config.js && cd ../..
RUN npx turbo run build --filter=./apps/mes
FROM node:20-slim