diff --git a/extras/docker/production/entrypoint.sh b/extras/docker/production/entrypoint.sh index 764d90245..0cf077800 100644 --- a/extras/docker/production/entrypoint.sh +++ b/extras/docker/production/entrypoint.sh @@ -36,7 +36,7 @@ then fi # Perform database migrations -if [[ "$DJANGO_PERFORM_MIGRATIONS" == "True" ]]; +if [[ "${DJANGO_PERFORM_MIGRATIONS:-True}" == "True" ]]; then echo "Performing database migrations" if ! python3 manage.py migrate; then