Debian Codegraph @

examples/streaming_chat/Dockerfile

raw
1 FROM python:3.14-slim
2
3 WORKDIR /app
4
5 # Install dependencies
6 RUN pip install --no-cache-dir \
7 fastapi \
8 pydantic
9
10 # Copy gunicorn source
11 COPY . /app/gunicorn-src
12 RUN pip install /app/gunicorn-src
13
14 # Copy app
15 COPY examples/streaming_chat /app/streaming_chat
16
17 ENV PYTHONPATH=/app
18
19 EXPOSE 8000
20 CMD ["gunicorn", "streaming_chat.main:app", "-c", "streaming_chat/gunicorn_conf.py"]