tts-voice-creator-clone-and.../Dockerfile
mARTin-B78 40e42590cc Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX
Cast: card/list views, sort & filter, online voice picker, "Hear a line"
sample button, AI character notes, import auto-save.

Platform: WCAG 2.1 AA accessibility pass; German UI translation + language
picker; installable PWA with offline shell; GZip + content-visibility
virtualization + lazy images + Rehearser PCM memory cap (mobile stability);
Playwright suite (desktop + iPhone); opt-in minified bundle build.

Fixes: screenplay parser false characters; Fish-Speech inline-tag tones;
narrator/voice pickers list full library; clone GUI rework; fish.audio
import dedup; voice-ID rename; bulk-delete modal.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 14:23:35 +02:00

40 lines
2.1 KiB
Docker

# ─────────────────────────────────────────────────────────────────────────────
# TTS Voice Creator - Clone and Design — Docker image (ARM64 / aarch64 compatible)
#
# Web app (FastAPI + WaveSurfer.js) — no VNC, no Qt, no X11.
# Accessible on port 7890 via any browser.
# ─────────────────────────────────────────────────────────────────────────────
FROM python:3.11-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
# ── System packages ───────────────────────────────────────────────────────────
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# ── Python dependencies ───────────────────────────────────────────────────────
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
# ── Application ───────────────────────────────────────────────────────────────
WORKDIR /app
COPY server.py .
COPY CHANGELOG.md .
COPY core/ core/
COPY routes/ routes/
COPY static/ static/
# ── Runtime user ──────────────────────────────────────────────────────────────
RUN mkdir -p /voices/active_voices /voices/hidden_voices /home/app/.config/tts-voice-creator && \
useradd -m -s /bin/bash app && \
chown -R app:app /app /voices /home/app
USER app
EXPOSE 7890
CMD ["python3", "server.py"]