WebEssentz commited on
Commit
563135d
·
1 Parent(s): 2719764

Realtime Flow

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -7,11 +7,11 @@ WORKDIR /app
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
- # Copy your agent script and its dependencies
11
- # Assuming avurna_agent_standalone.py is at the root of your /app directory
12
  COPY . .
13
 
14
- # --- KEY CHANGE: Run Uvicorn to serve the FastAPI app ---
15
- # This exposes the /webhook endpoint.
16
- # The FastAPI app will then trigger the LiveKit Agent logic in the background.
17
- CMD ["uvicorn", "src/agent_session/main.py", "--host", "0.0.0.0", "--port", "7860"]
 
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
+ # Copy your entire project structure into the container
11
+ # This assumes your src/agent_session/main.py is within the copied structure
12
  COPY . .
13
 
14
+ # --- KEY FIX: Correct the Uvicorn CMD to point to the exact module and app object ---
15
+ # Module path: src.agent_session.main
16
+ # App object name: app
17
+ CMD ["uvicorn", "src.agent_session.main:app", "--host", "0.0.0.0", "--port", "7860"]