Fix image display in Docker by loading initial fixtures on startup
This commit is contained in:
parent
dcd944b8c6
commit
640c75e499
3 changed files with 2 additions and 2 deletions
|
|
@ -3,5 +3,6 @@ set -e
|
|||
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py migrate --noinput
|
||||
python manage.py loaddata initial
|
||||
python manage.py create_default_admin
|
||||
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue