Files
ai-video-fullstack/backend/Dockerfile
Xin Wang 42cab2a6ef Initial commit: AI Video Assistant fullstack platform.
Add pipecat-based backend with WebRTC/WS voice routes, Next.js frontend, and Docker Compose orchestration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 13:51:28 +08:00

22 lines
453 B
Docker

FROM python:3.11-slim
# aiortc(WebRTC)和 onnxruntime(Silero VAD)需要的系统库
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
ffmpeg \
libopus0 \
libvpx-dev \
libsrtp2-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]