blob: 94b5f7c427895c8a65f9c26a850a01afcd894a28 (
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 0
echo --- Starting uwsgi ---
exec "$@" # This runs the CMD at the end of the Dockerfile
|