aboutsummaryrefslogtreecommitdiffstats
path: root/docker-entrypoint.sh
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-28 15:15:44 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-28 15:15:44 +0100
commit2037c6b87564772c7ac3f3ece3e4b2df5bc44cdc (patch)
tree222bb552655033468af47818a072096999cd03d9 /docker-entrypoint.sh
parent2b4181aecadbbad988cd80f97ef71b42d47a3cb1 (diff)
Should be a buildable Django container
Diffstat (limited to '')
-rw-r--r--docker-entrypoint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
new file mode 100644
index 0000000..5e8164c
--- /dev/null
+++ b/docker-entrypoint.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd /app
+python manage.py migrate
+python manage.py collectstatic --noinput
+exec gunicorn --bind ':8080' --worker-tmp-dir /dev/shm --workers 3 config.wsgi:application