How to start a custom RQ worker within a Docker Container (Python, Flask and Redis)
In the docs its possible with below command:
/usr/local/bin/rq worker -w custom_worker.py --path path/to/sourcecode
See more options with /usr/local/bin/rq worker --help
Docs:https://python-rq.org/docs/workers/#custom-worker-classes