14 lines
360 B
Docker
14 lines
360 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /opt/rag
|
|
|
|
RUN pip install --no-cache-dir \
|
|
uvicorn fastapi python-multipart requests \
|
|
sentence-transformers qdrant-client \
|
|
psycopg2-binary redis anthropic pymupdf \
|
|
mem0ai ollama passlib[bcrypt] python-jose[cryptography] bcrypt PyJWT
|
|
|
|
COPY . .
|
|
|
|
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8100"]
|