Creating cache directory in API Docker container for yt-dlp.

This commit is contained in:
Roland 2024-05-18 19:13:41 -06:00
parent 57ae4c1a23
commit 71cf292728
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -7,6 +7,8 @@ RUN apt update
# ffmpeg for Videos
RUN apt-get install -y ffmpeg catdoc
RUN ffmpeg -version
# yt-dlp needs cache directory
RUN mkdir /.cache && chown -R 1000:1000 /.cache
# Install dependencies.
COPY requirements.txt /opt/wrolpi/requirements.txt