repcofkk/app/entrypoint.sh

6 lines
98 B
Bash

#!/bin/sh
python manage.py makemigrations --noinput
python manage.py migrate --noinput
exec "$@"