fix: docker build

This commit is contained in:
2026-03-23 12:47:45 +01:00
parent d7df0d0e50
commit fb6c63deea
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ RUN_SERVER=${RUN_SERVER:="FALSE"}
RUN_CELERY=${RUN_CELERY:="FALSE"}
if [ $RUN_SERVER = "TRUE" ]; then
uvicorn --workers $ASGI_WORKERS --host $ASGI_HOST --port $ASGI_PORT config.asgi:application
python -m uvicorn --workers $ASGI_WORKERS --host $ASGI_HOST --port $ASGI_PORT config.asgi:application
elif [ $RUN_CELERY = "TRUE" ]; then
celery -A config worker
python -m celery -A config worker
else
echo "You have to set RUN_CELERY or RUN_SERVER to TRUE"
echo "Exiting"