Skip to content
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.11-slim
FROM python:3.13-slim

WORKDIR /app

# Install uv for package management
RUN pip install --no-cache-dir uv
COPY --from=ghcr.io/astral-sh/uv:0.8.3 /uv /uvx /bin/

# Install the mcp-server-qdrant package
RUN uv pip install --system --no-cache-dir mcp-server-qdrant
RUN uv tool install --no-cache mcp-server-qdrant
Comment thread
MH0386 marked this conversation as resolved.
Comment thread
MH0386 marked this conversation as resolved.

# Expose the default port for SSE transport
EXPOSE 8000
Expand All @@ -17,5 +17,8 @@ ENV QDRANT_API_KEY=""
ENV COLLECTION_NAME="default-collection"
ENV EMBEDDING_MODEL="sentence-transformers/all-MiniLM-L6-v2"

# Make the server listen on all network interfaces
ENV FASTMCP_HOST="0.0.0.0"

# Run the server with SSE transport
CMD uvx mcp-server-qdrant --transport sse
CMD ["uvx", "--no-cache", "mcp-server-qdrant", "--transport", "sse"]