chore: avoid crashing docker when creating superuser
This commit is contained in:
parent
9a99a19120
commit
d0f2657d3e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ services:
|
||||||
command: >
|
command: >
|
||||||
sh -c "python manage.py migrate &&
|
sh -c "python manage.py migrate &&
|
||||||
python manage.py collectstatic --no-input &&
|
python manage.py collectstatic --no-input &&
|
||||||
python manage.py createsuperuser --username \"${ADMIN_USER}\" --email=admin@admin.com --noinput &&
|
python manage.py createsuperuser --username \"${ADMIN_USER}\" --email=admin@admin.com --noinput || true &&
|
||||||
python manage.py runserver 0.0.0.0:4555"
|
python manage.py runserver 0.0.0.0:4555"
|
||||||
volumes:
|
volumes:
|
||||||
- static:/app/staticfiles
|
- static:/app/staticfiles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue