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.
41 lines
4.0 KiB
Docker
41 lines
4.0 KiB
Docker
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3 python3-venv git cmake g++ make ca-certificates libssl-dev && rm -rf /var/lib/apt/lists/*
|
|
# Isolated image runtime. Keep llama.cpp build tools and the app interpreter separate.
|
|
RUN python3 -m venv /opt/deck-image-python \
|
|
&& /opt/deck-image-python/bin/pip install --no-cache-dir torch==2.11.0 torchvision==0.26.0 --index-url https://download.pytorch.org/whl/cu128
|
|
COPY deploy/image-requirements.lock /tmp/image-requirements.lock
|
|
RUN git clone https://github.com/Comfy-Org/ComfyUI.git /opt/deck-comfy \
|
|
&& git -C /opt/deck-comfy checkout 8d534945ebd53cff61e8def81757c6a6c1b9cf2d \
|
|
&& git clone https://github.com/leejet/ComfyUI-GGUF.git /opt/deck-comfy/custom_nodes/ComfyUI-GGUF \
|
|
&& git -C /opt/deck-comfy/custom_nodes/ComfyUI-GGUF checkout 373048b8403a7820620065210a691263d4da0a61 \
|
|
&& /opt/deck-image-python/bin/pip install --no-cache-dir -c /tmp/image-requirements.lock -r /opt/deck-comfy/requirements.txt -r /opt/deck-comfy/custom_nodes/ComfyUI-GGUF/requirements.txt accelerate==1.15.0 \
|
|
&& /opt/deck-image-python/bin/pip freeze > /opt/deck-comfy/deck-requirements.lock
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-dev && rm -rf /var/lib/apt/lists/*
|
|
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 deploy/image-requirements.lock /app/deploy/image-requirements.lock
|
|
COPY deploy/acestep-requirements.lock /app/deploy/acestep-requirements.lock
|
|
COPY deploy/tts-requirements.lock /app/deploy/tts-requirements.lock
|
|
COPY deploy/ltx-original-requirements.lock /app/deploy/ltx-original-requirements.lock
|
|
COPY applio.py applio_runtime.py applio_worker.py applio-ui.js acestep_models.py acestep.py acestep_worker.py acestep_runtime.py acestep-ui.js embeddings.py voxcpm_test.py voxcpm_worker.py voxcpm_runtime.py separator_sources.json separator.py separator_runtime.py separator_worker.py music.py audio_cpp_runtime.py ltx_original_runtime.py ltx_original_entry.py video_original.py backup.py backup_codec.py audio_policy.py prompt_enhancer.py prompt_enhancer_worker.py api_compat.py responses_compat.py stt.py execution_setup.py tts_runtime.py tts_test.py tts_worker.py auto_test.py chat_test.py endpoint.py inference.py docker_support.py image_encoder_node.py image_runtime.py image_test.py image_upload.py profiles.py capacity.py server.py runtime.py video.py video_proxy.py video_comfy.py video_comfy_node.py video_comfy_proxy.py catalog.py hub_auth.py auth.py collect_hardware.py dashboard_data.py dashboard_history.py /app/
|
|
COPY voice-ui.js voxcpm-ui.js separator-ui.js music-ui.js audio-cpp-ui.js ltx-original-ui.js backup-ui.js video-ui.js stt-ui.js tts-ui.js auto-test-ui.js chat-test-ui.js endpoint-ui.js docker-ui.js image-test-ui.js profiles-ui.js dashboard-ui.js index.html app.js studio.js runtime-ui.js catalog-ui.js style.css dashboard.css themes.css login.html login.js access-ui.js network-ui.js /app/
|
|
COPY deploy/docker_backup.py /app/deploy/docker_backup.py
|
|
COPY deploy/applio-requirements.lock /app/deploy/applio-requirements.lock
|
|
COPY deploy/applio-web /app/deploy/applio-web
|
|
COPY network/__init__.py network/client.py network/config.py network/rpc.py /app/network/
|
|
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"]
|
|
|
|
COPY deploy/voxcpm-requirements.lock /app/deploy/voxcpm-requirements.lock
|
|
|
|
COPY deploy/patch_yue2_residency.py /app/deploy/patch_yue2_residency.py
|
|
|
|
COPY omnivoice_runtime.py omnivoice_worker.py /app/
|
|
|
|
COPY deploy/omnivoice-requirements.lock /app/deploy/omnivoice-requirements.lock
|