collecstatic isn't working in the dockerfile

This commit is contained in:
dekzter 2025-03-03 19:32:01 -05:00
parent 59fd80bb8a
commit 79377c0d7f

View file

@ -198,6 +198,7 @@ fi
cd /app
echo_with_timestamp "Running Django commands..."
python manage.py migrate --noinput || true
python manage.py collectstatic --noinput || true
# Always start Gunicorn
echo "🚀 Starting Gunicorn..."