From d17d291e075deba0738cc7a417beb87bbe6682d6 Mon Sep 17 00:00:00 2001 From: Yogesh Mahajan Date: Wed, 19 Jul 2023 12:25:01 +0530 Subject: [PATCH] Pin gunicorn version to 20.0.1 as latest version gives error - Bad file descriptor(Gunicorn Issue #3025). --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 24fe20822..49f40ee7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -189,7 +189,7 @@ RUN apk add \ libedit \ libldap \ libcap && \ - /venv/bin/python3 -m pip install --no-cache-dir gunicorn && \ + /venv/bin/python3 -m pip install --no-cache-dir gunicorn==20.0.1 && \ find / -type d -name '__pycache__' -exec rm -rf {} + && \ useradd -r -u 5050 -g root -s /sbin/nologin pgadmin && \ mkdir -p /var/lib/pgadmin && \