#!/bin/sh set -e if [ "${SKIP_MIGRATE}" != "1" ]; then echo "Running migrations..." python manage.py repair_location_tables python manage.py migrate --noinput echo "Migrations done." fi echo "Starting command: $*" exec "$@"