Docker
This commit is contained in:
parent
3ddc757e25
commit
74189f1f4e
4 changed files with 52 additions and 3 deletions
8
entrypoint.sh
Executable file
8
entrypoint.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
python manage.py compilemessages
|
||||
python manage.py makemigrations
|
||||
sleep 5
|
||||
python manage.py migrate
|
||||
|
||||
# TODO: use uwsgi in production
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
Loading…
Add table
Add a link
Reference in a new issue