Debian Codegraph @

tests/docker/uwsgi/Dockerfile.gunicorn

raw
1 FROM python:3.14-slim
2
3 WORKDIR /app
4
5 # Copy gunicorn source
6 COPY . /app/gunicorn-src/
7
8 # Install gunicorn from source
9 RUN pip install --no-cache-dir /app/gunicorn-src/
10
11 # Copy test application
12 COPY tests/docker/uwsgi/app.py /app/
13
14 EXPOSE 8000
15
16 CMD ["gunicorn", "--protocol", "uwsgi", "--uwsgi-allow-from", "*", "--bind", "0.0.0.0:8000", "--workers", "2", "--log-level", "debug", "app:application"]