From b1e40e7f8500fb5728f3187f82efce3ea7fde297 Mon Sep 17 00:00:00 2001
From: Benjamin Ledel <benjamin@schule-plus.com>
Date: Wed, 12 Mar 2025 16:56:24 +0100
Subject: [PATCH] *

---
 src/entrypoint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/entrypoint.sh b/src/entrypoint.sh
index 22f0f88..1fd51c8 100644
--- a/src/entrypoint.sh
+++ b/src/entrypoint.sh
@@ -4,4 +4,4 @@ echo "Running database migrations and role setup..."
 python manage.py check_and_apply_migrations
 
 echo "Starting Gunicorn server..."
-exec gunicorn --bind :80 --workers 3 --timeout 240 --access-logfile - --error-logfile - backend.wsgi
+exec env "$@" gunicorn --bind :80 --workers 3 --timeout 240 --access-logfile - --error-logfile - backend.wsgi
-- 
GitLab