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: remove workspace command from dockerfiles

Brad Barbindf3667809be0
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfile
index 0c840b76f8..3abdabb9da 100644
--- a/apps/erp/Dockerfile
+++ b/apps/erp/Dockerfile
@@ -7,7 +7,7 @@ COPY apps ./apps
COPY packages ./packages
# Install all workspaces (dev deps are needed to build)
# Force reinstall to fix optional deps issue in Alpine
-RUN npm ci --workspace && npm install @rollup/rollup-linux-x64-musl --no-save
+RUN npm ci && npm install @rollup/rollup-linux-x64-musl --no-save
FROM deps AS build
# Build only ERP and its deps
diff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfile
index f098fd1c47..3c26ecfff5 100644
--- a/apps/mes/Dockerfile
+++ b/apps/mes/Dockerfile
@@ -7,7 +7,7 @@ COPY apps ./apps
COPY packages ./packages
# Install all workspaces (dev deps are needed to build)
# Force reinstall to fix optional deps issue in Alpine
-RUN npm ci --workspace && npm install @rollup/rollup-linux-x64-musl --no-save
+RUN npm ci && npm install @rollup/rollup-linux-x64-musl --no-save
FROM deps AS build
# Build only ERP and its deps