Files
datascale-ai-opentalking/docker/Dockerfile.api
cwang10 c33a43181a Initial commit: OpenTalking real-time digital human framework
Modular pipeline for text-driven talking avatars with WebRTC streaming:
- FlashTalk / Wav2Lip / MuseTalk model adapters
- LLM (OpenAI-compatible) → sentence split → Edge TTS → video generation
- Interleaved A/V queue for lip-sync accuracy
- Idle animation cache with crossfade and mouth stabilization
- Unified server mode (API + worker in one process)
- Immersive chat frontend (React + Tailwind + WebRTC)
- Docker Compose configs for local, distributed, and Ascend 910B deployments
2026-04-16 15:28:52 +08:00

27 lines
625 B
Docker

FROM python:3.11-slim-bookworm
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml README.md LICENSE ./
COPY src ./src
COPY apps ./apps
COPY configs ./configs
COPY examples ./examples
RUN pip install --no-cache-dir -U pip setuptools wheel \
&& pip install --no-cache-dir -e .
ENV OPENTALKING_REDIS_URL=redis://redis:6379/0
ENV OPENTALKING_WORKER_URL=http://worker:9001
ENV OPENTALKING_AVATARS_DIR=/app/examples/avatars
ENV OPENTALKING_API_HOST=0.0.0.0
ENV OPENTALKING_API_PORT=8000
EXPOSE 8000
CMD ["opentalking-api"]