#!/bin/sh echo "Waiting for postgres..." python wait_for_db.py echo "PostgreSQL started" python manage.py makemigrations python manage.py migrate python manage.py collectstatic --noinput exec "$@"