django-project-structure/entrypoint.sh

7 lines
106 B
Bash

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