-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (25 loc) · 822 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (25 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM python:3.11-slim
WORKDIR /app
# OS deps (audio, networking — kept minimal)
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates curl && \
rm -rf /var/lib/apt/lists/*
COPY pyproject.toml ./
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir hatchling && \
pip install --no-cache-dir \
"pipecat-ai[sarvam,azure]>=0.0.50" \
"fastapi>=0.115" \
"uvicorn[standard]>=0.30" \
"httpx>=0.27" \
"openai>=1.50" \
"pydantic>=2.0" \
"python-dotenv>=1.0" \
"loguru>=0.7"
COPY server/ ./server/
COPY client/ ./client/
COPY examples/ ./examples/
EXPOSE 7860
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
CMD curl -fsS http://localhost:7860/health || exit 1
CMD ["python", "-m", "server.main"]