File size: 563 Bytes
2719764
dedb5fe
37b602a
dedb5fe
 
 
 
37b602a
dedb5fe
563135d
 
dedb5fe
 
563135d
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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"]