From 8b86f6c36db6701320d05fec5edd6a97a92f0dc5 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Fri, 23 Jan 2026 19:26:39 +0100 Subject: [PATCH] fix: install gunicorn from source in Docker image --- docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 242d628c..9b628a7c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,8 +9,10 @@ RUN useradd --create-home --shell /bin/bash gunicorn WORKDIR /app -# Install gunicorn -RUN pip install --no-cache-dir gunicorn +# Install gunicorn from source +COPY pyproject.toml README.rst LICENSE ./ +COPY gunicorn/ ./gunicorn/ +RUN pip install --no-cache-dir . # Copy entrypoint script COPY docker/docker-entrypoint.sh /usr/local/bin/