diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 91bf4f3..08caa7e 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,12 +1,5 @@ #!/bin/bash -echo "Flush the manage.py command if any" - -while ! python manage.py flush --no-input 2>&1; do - echo "Flushing django manage command" - sleep 3 -done - echo "Migrate the database at startup of project" while ! python manage.py migrate 2>&1; do