# Dockerfile - Avurna Agent with Webhook Listener for Hugging Face Spaces FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy your entire project structure into the container # This assumes your src/agent_session/main.py is within the copied structure COPY . . # --- KEY FIX: Correct the Uvicorn CMD to point to the exact module and app object --- # Module path: src.agent_session.main # App object name: app CMD ["uvicorn", "src.agent_session.main:app", "--host", "0.0.0.0", "--port", "7860"]