doc-processing / scripts /worker_entrypoint.sh
github-actions
deploy v21
74caaae
#!/bin/bash
# Start the health check server in the background
echo "Starting health check server..."
python scripts/health_check.py &
# Start the RQ worker in the foreground
# This allows it to own the main thread and handle signals correctly
echo "Starting RQ worker..."
exec python scripts/worker.py