django-project-structure/entrypoint.sh

7 lines
104 B
Bash

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