Set yt-dlp cache dir to /data/yt-dlp-cache for persistent OAuth tokens

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
inputnoise
2026-05-25 21:56:41 +02:00
parent 32af6c1c49
commit b3284b35da

View File

@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y ffmpeg gosu && rm -rf /var/lib/apt/list
COPY backend/requirements.txt ./backend/requirements.txt COPY backend/requirements.txt ./backend/requirements.txt
RUN pip install --no-cache-dir -r backend/requirements.txt && pip install --no-cache-dir -U yt-dlp RUN pip install --no-cache-dir -r backend/requirements.txt && pip install --no-cache-dir -U yt-dlp
RUN echo "--cache-dir /data/yt-dlp-cache" > /etc/yt-dlp.conf
COPY backend/ ./backend/ COPY backend/ ./backend/