Skip to content

Commit 91ec609

Browse files
authored
Merge pull request #12 from Jacob-Lasky/main
Update VoiceAgent config to use the v1 API spec
2 parents 6d35357 + ebe8900 commit 91ec609

File tree

6 files changed

+854
-172
lines changed

6 files changed

+854
-172
lines changed

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM python:3.12-slim
2+
3+
# Install system dependencies including portaudio
4+
RUN apt-get update && apt-get install -y \
5+
portaudio19-dev \
6+
python3-pip \
7+
&& rm -rf /var/lib/apt/lists/*
8+
9+
WORKDIR /app
10+
11+
# Copy requirements first for better caching
12+
COPY requirements.txt .
13+
RUN pip install -r requirements.txt gunicorn eventlet
14+
15+
# Copy project files
16+
COPY . .
17+
18+
# Expose port 5000
19+
EXPOSE 5000
20+
21+
# Run with gunicorn
22+
CMD ["gunicorn", "--worker-class", "eventlet", "-w", "1", "--bind", "0.0.0.0:5000", "client:app"]

0 commit comments

Comments
 (0)