chore: stagger docker builds to prevent parallel OOM
Publish Docker Images / Smoke test (api) (push) Canceled after 0s
Publish Docker Images / Smoke test (dashboard) (push) Canceled after 0s
Publish Docker Images / Smoke test (jobs) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.api, api, api) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.dashboard, dashboard, dashboard) (push) Canceled after 0s
Publish Docker Images / build-and-push (./docker/Dockerfile.jobs, jobs, jobs) (push) Canceled after 0s

This commit is contained in:
Ulises Vargas
2026-08-25 10:50:54 -07:00
parent 927b2e40ab
commit d343319621
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ RUN pnpm install --offline --frozen-lockfile --ignore-scripts \
RUN find . -name 'tsconfig.tsbuildinfo' -delete RUN find . -name 'tsconfig.tsbuildinfo' -delete
RUN NODE_OPTIONS="--max-old-space-size=4096" \ RUN NODE_OPTIONS="--max-old-space-size=4096" \
PUBLIC_IS_SELFHOSTED="${PUBLIC_IS_SELFHOSTED}" \ PUBLIC_IS_SELFHOSTED="${PUBLIC_IS_SELFHOSTED}" \
pnpm -r --filter @cio/dashboard... build sleep 45 && pnpm -r --filter @cio/dashboard... build
RUN test -f apps/dashboard/build/index.js || (echo "ERROR: Dashboard build output not found at apps/dashboard/build/index.js" && exit 1) RUN test -f apps/dashboard/build/index.js || (echo "ERROR: Dashboard build output not found at apps/dashboard/build/index.js" && exit 1)
+1 -1
View File
@@ -27,7 +27,7 @@ RUN pnpm install --offline --frozen-lockfile --ignore-scripts \
--store-dir /pnpm/store --filter @cio/jobs-worker... --store-dir /pnpm/store --filter @cio/jobs-worker...
RUN find . -name 'tsconfig.tsbuildinfo' -delete RUN find . -name 'tsconfig.tsbuildinfo' -delete
# Build the worker and all its workspace deps in topological order. # Build the worker and all its workspace deps in topological order.
RUN pnpm -r --filter @cio/jobs-worker... build RUN sleep 90 && pnpm -r --filter @cio/jobs-worker... build
# Run all worker entrypoints by default. Override CMD to scale media / transcribe # Run all worker entrypoints by default. Override CMD to scale media / transcribe
# / maintenance independently. # / maintenance independently.