fix: install gunicorn from source in Docker image

This commit is contained in:
Benoit Chesneau 2026-01-23 19:26:39 +01:00
parent 076bef68d3
commit 8b86f6c36d

View File

@ -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/