From c5ea4c9c36dd8c740f6d35cca81476a2ec38ab8a Mon Sep 17 00:00:00 2001 From: Erfan Mojibi <79264952+ErfanMojibi@users.noreply.github.com> Date: Tue, 9 Jun 2026 18:28:37 +0330 Subject: [PATCH] Replace exec command with gunicorn startup --- entrypoint.prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.prod.sh b/entrypoint.prod.sh index 11ea743..8e97fc4 100755 --- a/entrypoint.prod.sh +++ b/entrypoint.prod.sh @@ -25,4 +25,4 @@ python3 manage.py collectstatic --no-input --clear echo "Static files collected." echo "Starting the application..." -exec "$@" # Execute the command passed to the script (e.g., gunicorn or Django's runserver) +gunicorn Rasta_Web.wsgi:application --bind 0.0.0.0:8000