Commit
fix: update health check to prioritize PORT environment variable
Commit details
Commit notes
Modified the health check in Dockerfile.worker to use the PORT variable set by Railway, falling back to WORKER_HEALTH_PORT or defaulting to 3002. Updated the worker.ts file to reflect the same logic for determining the health server port, ensuring consistent behavior across the application.
- Files changed
- 2
- Lines added
- +8
- Lines removed
- −5