diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index a42dc9c..7c2ba29 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -109,7 +109,9 @@ main() { inject_env_vars - #./manage.py collectstatic + if [ ! "${DEBUG}" = "true" ]; then + ./manage.py collectstatic + fi ./manage.py runserver 0.0.0.0:${PORT} }