Pin gunicorn version to 20.0.1 as latest version gives error - Bad file descriptor(Gunicorn Issue #3025).

This commit is contained in:
Yogesh Mahajan 2023-07-19 12:25:01 +05:30 committed by GitHub
parent b4991a49a2
commit d17d291e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 && \