collectstatic when DEBUG is not true

This commit is contained in:
pedro 2024-03-18 10:32:28 +01:00
parent 262e493b56
commit b25b390e6a
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ main() {
inject_env_vars inject_env_vars
#./manage.py collectstatic if [ ! "${DEBUG}" = "true" ]; then
./manage.py collectstatic
fi
./manage.py runserver 0.0.0.0:${PORT} ./manage.py runserver 0.0.0.0:${PORT}
} }