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.

ci: update dockerfiles to remove workspace command

Brad Barbindfd6c0a9568d
diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.yml
index 2d5b04b262..daef4c8946 100644
--- a/.github/workflows/functions.yml
+++ b/.github/workflows/functions.yml
@@ -33,7 +33,7 @@ jobs:
- name: Deploy functions
run: |
- ssh ubuntu@$INSTANCE_HOST 'sudo bash -c "cd /home/ubuntu/supabase && git config pull.rebase true && sudo bash sync-carbon-functions.sh"'
+ ssh ubuntu@$INSTANCE_HOST 'sudo bash /home/ubuntu/supabase/sync-carbon-functions.sh'
- name: Cleanup SSH key
if: always()
diff --git a/apps/erp/Dockerfile b/apps/erp/Dockerfile
index e6e34bfaf3..85562037aa 100644
--- a/apps/erp/Dockerfile
+++ b/apps/erp/Dockerfile
@@ -6,7 +6,7 @@ COPY package.json package-lock.json turbo.json ./
COPY apps ./apps
COPY packages ./packages
# Install all workspaces (dev deps are needed to build)
-RUN npm ci --workspaces
+RUN npm ci
FROM deps AS build
# Build only ERP and its deps
diff --git a/apps/mes/Dockerfile b/apps/mes/Dockerfile
index f3b0867931..06662d3e37 100644
--- a/apps/mes/Dockerfile
+++ b/apps/mes/Dockerfile
@@ -6,7 +6,7 @@ COPY package.json package-lock.json turbo.json ./
COPY apps ./apps
COPY packages ./packages
# Install all workspaces (dev deps are needed to build)
-RUN npm ci --workspaces
+RUN npm ci
FROM deps AS build
# Build only ERP and its deps