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:
@@ -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/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user