CognxSafeTrack commited on
Commit
e4d508b
Β·
1 Parent(s): 9d3cd28

fix: correct dist paths in Dockerfile

Browse files
Files changed (1) hide show
  1. apps/whatsapp-worker/Dockerfile +1 -1
apps/whatsapp-worker/Dockerfile CHANGED
@@ -31,5 +31,5 @@ EXPOSE 3001
31
  # ─── Combined startup ─────────────────────────────────────────────────────────
32
  # db:push is best-effort β€” failure must NOT block the API or worker.
33
  # API (webhook + REST) and worker (BullMQ) start in parallel.
34
- CMD ["sh", "-c", "(pnpm --filter @repo/database db:push || echo '[CMD] db:push skipped or failed β€” continuing') && node /app/apps/api/dist/src/index.js & sleep 2 && node /app/apps/whatsapp-worker/dist/src/index.js & wait"]
35
 
 
31
  # ─── Combined startup ─────────────────────────────────────────────────────────
32
  # db:push is best-effort β€” failure must NOT block the API or worker.
33
  # API (webhook + REST) and worker (BullMQ) start in parallel.
34
+ CMD ["sh", "-c", "(pnpm --filter @repo/database db:push || echo '[CMD] db:push skipped or failed β€” continuing') && node /app/apps/api/dist/index.js & sleep 2 && node /app/apps/whatsapp-worker/dist/index.js & wait"]
35