- Add config.toml with MCP servers configuration - Add compose.yaml for PostgreSQL+pgvector, PostgREST, and Crawl4AI RAG - Include forked mcp-crawl4ai-rag with BGE 1024-dim embedding support - Custom schema (crawled_pages_1024.sql) for BGE embeddings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
379 B
Docker
22 lines
379 B
Docker
FROM python:3.12-slim
|
|
|
|
ARG PORT=8051
|
|
|
|
WORKDIR /app
|
|
|
|
# Install uv
|
|
RUN pip install uv
|
|
|
|
# Copy the MCP server files
|
|
COPY . .
|
|
|
|
# Install packages directly to the system (no virtual environment)
|
|
# Combining commands to reduce Docker layers
|
|
RUN uv pip install --system -e . && \
|
|
crawl4ai-setup
|
|
|
|
EXPOSE ${PORT}
|
|
|
|
# Command to run the MCP server
|
|
CMD ["python", "src/crawl4ai_mcp.py"]
|