fixed docker

This commit is contained in:
afanasyev.aa 2025-06-26 20:47:12 +09:00
parent 741aefca31
commit c334c0628d
8 changed files with 206 additions and 40 deletions

4
entrypoint.sh Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
python manage.py collectstatic --noinput
python manage.py migrate --noinput
python -m daphne testapi.asgi:application -b 0.0.0.0 -p 8000