From 8a0a7558894afce8d25b7f0dc16775e899b72a94 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Tue, 8 Nov 2022 23:05:51 -0500 Subject: Add basic docker support --- scripts/start.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/start.sh (limited to 'scripts') diff --git a/scripts/start.sh b/scripts/start.sh new file mode 100644 index 0000000..99f1ed0 --- /dev/null +++ b/scripts/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 -- cgit v1.2.3