# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.11-slim

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

# Set work directory
WORKDIR /app

# Copy local code to the container
COPY . /app

# Install pip dependencies with no scripts
RUN pip install --upgrade pip \
    && pip install --ignore-installed --no-cache-dir .

# Expose port 8000 (if needed)
EXPOSE 8000

# Command to run the MCP server via stdio transport
# Using the installed script provided by the package
ENTRYPOINT ["set-mcp"]
CMD ["--transport", "stdio"]
