chore: avoid having that problem

This commit is contained in:
Gerard Gascón 2025-04-11 21:50:06 +02:00
parent d0f2657d3e
commit 11880d2833

View file

@ -11,7 +11,7 @@ services:
command: >
sh -c "python manage.py migrate &&
python manage.py collectstatic --no-input &&
python manage.py createsuperuser --username \"${ADMIN_USER}\" --email=admin@admin.com --noinput || true &&
python manage.py createsuperuser --username \"${ADMIN_USER}\" --email=admin@admin.com --noinput
python manage.py runserver 0.0.0.0:4555"
volumes:
- static:/app/staticfiles