FROM python:3.11-slim

WORKDIR /app

# Install dependencies
COPY pyproject.toml ./
RUN pip install --no-cache-dir -e .

# Copy application code
COPY tui_agent_dashboard/ ./tui_agent_dashboard/
COPY .env.example ./.env

# Run the dashboard
CMD ["tui-agent-dashboard"]
