FROM python:3.11-slim

# Install system dependencies
RUN apt-get update && apt-get install -y \
    git \
    build-essential \
    curl \
    && rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /app

# Copy the completely neutered Hermes repo
COPY . /app/

# Install Hermes and its dependencies directly
RUN pip install --no-cache-dir -e .

# Create directory for Hermes profile data
RUN mkdir -p /root/.hermes

# Default command to run Hermes CLI
CMD ["python", "-m", "hermes_cli.main"]
