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
|
||||
|
||||
if [ ! "${DEBUG}" = "true" ]; then
|
||||
if [ ! "${DEBUG:-}" = "true" ]; then
|
||||
./manage.py collectstatic
|
||||
fi
|
||||
|
||||
|
|
Reference in New Issue