This change was basically because using dramatiq and dramatic-gevent caused the os module to raise a file not found error when i ran this inside the docker container. The way i did this was using the command:
./venv/bin/python manage.py rundramatiq
Which meant that the current virtualenv is not activated but rather, the python executable is directly used. Which basically resembles the way other people and I configure this in places such as docker-compose files or supervisor configurations.
This change was basically because using
dramatiq
anddramatic-gevent
caused theos
module to raise afile not found
error when i ran this inside the docker container. The way i did this was using the command:Which meant that the current virtualenv is not activated but rather, the python executable is directly used. Which basically resembles the way other people and I configure this in places such as docker-compose files or supervisor configurations.