From c2d6ea04bcea5f742f4c698a95a18fa134265953 Mon Sep 17 00:00:00 2001 From: saani Date: Sun, 23 Nov 2025 19:19:29 +0000 Subject: [PATCH] chore: switch from gunicorn to Django development server in dockerfile Replace gunicorn production server with Django's development server (manage.py runserver) for easier debugging. The gunicorn configuration has been commented out rather than removed for easy restoration. **Warning:** This change makes the application unsuitable for production deployment as runserver is not designed for production use. --- dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 7d57a80..b45abce 100644 --- a/dockerfile +++ b/dockerfile @@ -29,4 +29,5 @@ EXPOSE 8000 CMD \ python manage.py migrate && \ python manage.py collectstatic --noinput && \ - gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3 + python manage.py runserver 0.0.0.0:8000 && \ +# gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3 -- 2.39.5