# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the official Python image with version 3.11
FROM python:3.11-slim

# Set working directory
WORKDIR /app

# Copy the contents of the current directory to /app in the container
COPY . .

# Install the necessary dependencies
RUN pip install --no-cache-dir hatchling && hatch build && pip install .

# Set the environment variable to ensure UTF-8 output
ENV PYTHONUTF8=1

# Command to run the MCP server
ENTRYPOINT ["mcp-llms-txt"]
