# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM ghcr.io/astral-sh/uv:alpine

# Install system dependencies
RUN apk add --no-cache python3 py3-pip build-base

# Set working directory
WORKDIR /app

# Copy the project files
COPY . /app

# Install the package with --break-system-packages flag to override external environment management
RUN pip install . --no-cache-dir --break-system-packages

# Command to run the MCP server using uvx. uvx will pick up the installed dappier-mcp script.
CMD ["uvx", "dappier-mcp"]
