From 05bb210f621aa80e16d766606f703a749aa734a6 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 10 Mar 2026 14:05:41 +0100 Subject: [PATCH] Improve entrypoint and add whitenoise to deps --- entrypoint.sh | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1ee1d3d..d55eac1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ figlet Proyecto MVC echo "Running DB migrations..." python manage.py migrate echo "Collecting STATIC..." -yes | python manage.py collectstatic +python manage.py collectstatic --noinput echo "Running server!" diff --git a/requirements.txt b/requirements.txt index 14720f2..39c8d0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -39,3 +39,4 @@ tzlocal==5.3.1 urllib3==2.6.3 vine==5.1.0 wcwidth==0.6.0 +whitenoise==6.12.0