CognxSafeTrack commited on
Commit ·
de1de59
1
Parent(s): ae57076
build: trigger railway worker redeploy
Browse files
apps/whatsapp-worker/Dockerfile
CHANGED
|
@@ -30,3 +30,4 @@ EXPOSE 3001
|
|
| 30 |
# db:push is best-effort — failure must NOT block the API or worker.
|
| 31 |
# API (webhook + REST) and worker (BullMQ) start in parallel.
|
| 32 |
CMD ["sh", "-c", "(pnpm --filter @repo/database db:push || echo '[CMD] db:push skipped or failed — continuing') && npx tsx /app/apps/api/src/index.ts & sleep 2 && node /app/apps/whatsapp-worker/dist/src/index.js & wait"]
|
|
|
|
|
|
| 30 |
# db:push is best-effort — failure must NOT block the API or worker.
|
| 31 |
# API (webhook + REST) and worker (BullMQ) start in parallel.
|
| 32 |
CMD ["sh", "-c", "(pnpm --filter @repo/database db:push || echo '[CMD] db:push skipped or failed — continuing') && npx tsx /app/apps/api/src/index.ts & sleep 2 && node /app/apps/whatsapp-worker/dist/src/index.js & wait"]
|
| 33 |
+
|