You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 line
147 B

  1. #!/usr/bin/env bash
  2. while ! nc -z db 5432; do sleep 3; done
  3. python manage.py migrate
  4. python manage.py collectstatic --clear --no-input
  5. exec "$@"