docker entrypoint: DEBUG might be not defined
and that's fine
This commit is contained in:
parent
b25b390e6a
commit
dfc709ffbf
|
@ -109,7 +109,7 @@ main() {
|
||||||
|
|
||||||
inject_env_vars
|
inject_env_vars
|
||||||
|
|
||||||
if [ ! "${DEBUG}" = "true" ]; then
|
if [ ! "${DEBUG:-}" = "true" ]; then
|
||||||
./manage.py collectstatic
|
./manage.py collectstatic
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Reference in New Issue