From 2037c6b87564772c7ac3f3ece3e4b2df5bc44cdc Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 28 May 2024 15:15:44 +0100 Subject: Should be a buildable Django container --- docker-entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docker-entrypoint.sh (limited to 'docker-entrypoint.sh') 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 -- cgit v1.2.3