#!/bin/sh echo "Running migrations..." ./wait-for-it.sh db:5432 --timeout=30 --strict -- echo "Postgres is up" cd /app python manage.py migrate python manage.py collectstatic --noinput exec gunicorn --bind ':3000' --worker-tmp-dir /dev/shm --workers 3 config.wsgi:application