Debian Codegraph @

examples/embedding_service/Dockerfile

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