docker entrypoint: DEBUG might be not defined

and that's fine
This commit is contained in:
pedro 2024-03-18 10:48:03 +01:00
parent b25b390e6a
commit dfc709ffbf

View file

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