Add Dockerfile and update README (#32)
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install uv for package management
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
# Install the mcp-server-qdrant package
|
||||
RUN uv pip install --system --no-cache-dir mcp-server-qdrant
|
||||
|
||||
# Expose the default port for SSE transport
|
||||
EXPOSE 8000
|
||||
|
||||
# Set environment variables with defaults that can be overridden at runtime
|
||||
ENV QDRANT_URL=""
|
||||
ENV QDRANT_API_KEY=""
|
||||
ENV COLLECTION_NAME="default-collection"
|
||||
ENV EMBEDDING_MODEL="sentence-transformers/all-MiniLM-L6-v2"
|
||||
|
||||
# Run the server with SSE transport
|
||||
CMD uvx mcp-server-qdrant --transport sse
|
||||
Reference in New Issue
Block a user