dockerfile, api: Yangi loyiha uchun Dockerfile va Django API modullarini qo'shish. Kiritilgan fayllar: requirements.txt, admin.py, models.py, tests.py va boshqalar.
This commit is contained in:
5
template/entrypoint.sh
Normal file
5
template/entrypoint.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 manage.py collectstatus --no-input
|
||||
python3 manage.py migrate --no-input
|
||||
python3 manage.py runserver 0.0.0.0:8000
|
||||
Reference in New Issue
Block a user