# chatterbox-fast — streaming TTS server. # # Layers our streaming server (app.py + scheduler.py) on top of the proven # chatterbox base image (devnen's, already built locally by the sibling # `chatterbox` stack). That base carries the chatterbox lib + torch + # fastapi/uvicorn/pydantic — verified present — so this stays a thin overlay. # # Build on irv-ml1, where local/chatterbox: exists. Bump the base via the # CHATTERBOX_BASE build arg (compose passes it from .env: CBF_BASE_TAG). ARG CHATTERBOX_BASE=local/chatterbox:v1 FROM ${CHATTERBOX_BASE} # Only the two runtime modules — tests/bench/README stay out of the image. COPY scheduler.py app.py /cbf/ WORKDIR /cbf # The base image sets devnen's own entrypoint; clear it and run our server. ENTRYPOINT [] CMD ["python", "app.py"]