Pin Applio 3.6.5 and verified basis assets, migrate private voice provenance, and coordinate conversion/live/training with Deck GPU leases. Prepare an inactive voice profile and a restricted studio container. Move CUDA and Torch caches out of the small temporary filesystem to prevent OmniVoice reference failures. Package app updates from the explicit allowlist in one Docker layer.
14 lines
635 B
Docker
14 lines
635 B
Docker
ARG DECK_RUNTIME_IMAGE
|
|
FROM ${DECK_RUNTIME_IMAGE}
|
|
USER root
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python3-cryptography ffmpeg libsndfile1 libportaudio2 && rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
COPY app/ /app/
|
|
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 HOME=/tmp \
|
|
CUDA_CACHE_PATH=/var/lib/deck/cache/cuda TORCHINDUCTOR_CACHE_DIR=/var/lib/deck/cache/torchinductor \
|
|
DECK_BIND_HOST=0.0.0.0 DECK_STATE_DIR=/var/lib/deck \
|
|
DECK_REQUIRE_SETUP=1 DECK_LOCAL_HARDWARE=1 DECK_LOCATION=Athena-Debian \
|
|
DECK_NETWORK_MODE=disabled
|
|
USER 65534:65534
|
|
CMD ["python3", "server.py", "--port", "8108"]
|