Update docker-compose

This commit is contained in:
Keannu Bernasol 2023-12-03 01:00:10 +08:00
parent d8e4a0ba3e
commit 319c46d76d

View file

@ -15,7 +15,7 @@ services:
[ [
"sh", "sh",
"-c", "-c",
"python equipment_tracker/manage.py spectacular --color --file equipment_tracker/schema.yml && python equipment_tracker/manage.py collectstatic --noinput && python equipment_tracker/manage.py makemigrations && python equipment_tracker/manage.py migrate && python equipment_tracker/manage.py runserver", "python equipment_tracker/manage.py spectacular --color --file equipment_tracker/schema.yml && python equipment_tracker/manage.py collectstatic --noinput && python equipment_tracker/manage.py makemigrations && python equipment_tracker/manage.py migrate && python equipment_tracker/manage.py runserver 0.0.0.0:8000",
] ]
volumes: volumes:
- .:/code # For hotreloading - .:/code # For hotreloading