summaryrefslogtreecommitdiffstats
path: root/docker/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/start.sh')
-rw-r--r--docker/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/start.sh b/docker/start.sh
new file mode 100644
index 0000000..99f1ed0
--- /dev/null
+++ b/docker/start.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+. /takahe/.venv/bin/activate
+
+python manage.py migrate
+
+exec gunicorn takahe.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000