Fix dashboard asset permissions in SSD deployment and build recipes

This commit is contained in:
Mikei386 committed 2026-10-15 16:36:01 +02:00
1 parent 6f6ea685ca
commit f014868cba
5 files changed
+33 -3

No files matched your search

+2
View File
@@ -4,6 +4,8 @@ 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/
# Public dashboard assets must be readable by UID 65534 even after a 0600 transfer.
RUN chmod 0644 /app/dashboard-ui.js /app/dashboard.css
RUN rm -f /app/seed_vc.py /app/seed_vc_runtime.py /app/seed_vc_sources.json /app/seed-vc-ui.js /app/deploy/prepare_seed_vc.py /app/deploy/seed-vc-requirements.lock && rm -rf /app/deploy/seed-vc-web
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 HOME=/tmp \
CUDA_CACHE_PATH=/var/lib/deck/cache/cuda TORCHINDUCTOR_CACHE_DIR=/var/lib/deck/cache/torchinductor \