fb86d79930
op25-container/system.pa New PulseAudio config: auth-anonymous=1 so the edge-node can connect without group membership op25-container/Dockerfile Copies system.pa into /etc/pulse/system.pa drb-edge-node/Dockerfile Added libpulse0 — ffmpeg needs this runtime library to use -f pulse drb-edge-node/app/internal/call_recorder.py Switched recording from Icecast (burst-buffer overlap) to PulseAudio monitor (zero-delay, exact call boundaries)
19 lines
376 B
Docker
19 lines
376 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
ffmpeg \
|
|
libopus0 \
|
|
libopus-dev \
|
|
libpulse0 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY app/ ./app/
|
|
COPY tests/ ./tests/
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
|