mirror of
https://github.com/datascale-ai/opentalking.git
synced 2026-07-03 15:22:34 +08:00
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
18 lines
347 B
Docker
18 lines
347 B
Docker
FROM node:20-alpine AS build
|
|
|
|
WORKDIR /app
|
|
COPY apps/web/package.json apps/web/package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY apps/web ./
|
|
ARG VITE_API_BASE=/api
|
|
ENV VITE_API_BASE=$VITE_API_BASE
|
|
RUN npm run build
|
|
|
|
FROM nginx:1.27-alpine
|
|
|
|
COPY docker/nginx-web.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|