# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
FROM python:3.12-slim

# Install dependencies for building
RUN apt-get update && apt-get install -y --no-install-recommends build-essential && rm -rf /var/lib/apt/lists/*

# Set work directory
WORKDIR /app

# Copy project files including README for packaging
COPY pyproject.toml uv.lock README.md ./
COPY src/ ./src/

# Install the MCP server package
RUN pip install --no-cache-dir .

# Expose port for HTTP server
EXPOSE 8081

# Default command to run the MCP server over HTTP
CMD ["python", "-m", "src.main"]
