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

# Set working directory
WORKDIR /app

# Copy project files
COPY pyproject.toml .
COPY src ./src
COPY LICENSE README.md DEVELOPERS.md uv.lock ./

# Install dependencies and package
RUN pip install --no-cache-dir .

# Default to stdio transport for MCP clients
ENV TRANSPORT=stdio

# Default command to start the MCP server
CMD ["python", "-m", "sitemap_mcp_server"]
