blob: 22636c93113cb2533cf5f8d38e5b75b995795b92 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
 | #!/usr/bin/env bash
echo --- Applying migrations ---
python manage.py migrate --verbosity 1
echo --- Collecting static files ---
python manage.py collectstatic --no-input --clear --verbosity 1
echo --- Starting uwsgi ---
exec "$@"  # This runs the CMD at the end of the Dockerfile
 |