From 8a1f66bfaff8af90c30f6fb9f18f482c7e7a7823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 19 Jan 2023 20:20:50 +0100 Subject: [PATCH] Fix entrypoint.sh --- entrypoint.sh | 2 +- src/timetracker/root/asgi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ee89f32..9613b6a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,4 +10,4 @@ poetry run python src/timetracker/manage.py collectstatic --clear --no-input echo "Starting server" caddy start cd src/timetracker || exit -poetry run python -m gunicorn --bind 0.0.0.0:8001 timetracker.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile - +poetry run python -m gunicorn --bind 0.0.0.0:8001 root.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile - diff --git a/src/timetracker/root/asgi.py b/src/timetracker/root/asgi.py index 6c03c13..1ce85f3 100644 --- a/src/timetracker/root/asgi.py +++ b/src/timetracker/root/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for timetracker project. +ASGI config for root project. It exposes the ASGI callable as a module-level variable named ``application``.