#!/bin/sh set -e if [ "x$DJANGO_MANAGEPY_MIGRATE" = 'xon' ]; then echo "Apply database migrations" sleep 1 python manage.py migrate --noinput fi
exec "$@"