coleam00-mcp-crawl4ai-rag
SUCCESS
64m 11s
History Source
SummaryIterations1Transcript24Dockerfile
Dockerfile37 lines · 722 chars
FROM python:3.12-slim

ARG PORT=8051

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

WORKDIR /app

# Install system dependencies for builds
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        build-essential \
        curl \
        ca-certificates \
        git \
        libffi-dev \
        libssl-dev && \
    rm -rf /var/lib/apt/lists/*

# Install Python dependencies from PyPI (matching pyproject.toml)
RUN pip install --no-cache-dir \
    crawl4ai==0.6.2 \
    mcp==1.7.1 \
    supabase==2.15.1 \
    openai==1.71.0 \
    dotenv==0.9.9 \
    sentence-transformers>=4.1.0 \
    neo4j>=5.28.1

# Copy the source code
COPY . .

EXPOSE ${PORT}

CMD ["python", "src/crawl4ai_mcp.py"]