Fix image display in Docker by loading initial fixtures on startup
Some checks failed
Docker / build (release) Failing after 12s
Some checks failed
Docker / build (release) Failing after 12s
This commit is contained in:
parent
dcd944b8c6
commit
c5a69c74da
1 changed files with 1 additions and 0 deletions
|
|
@ -3,5 +3,6 @@ set -e
|
||||||
|
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
python manage.py migrate --noinput
|
python manage.py migrate --noinput
|
||||||
|
python manage.py loaddata initial
|
||||||
python manage.py create_default_admin
|
python manage.py create_default_admin
|
||||||
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
exec gunicorn photo21.wsgi:application --bind 0.0.0.0:8000 --workers 3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue