[DOCKER] Add curl-cffi and yt-dlp-ejs dependencies
Adds recommended deps from yt-dlp README
This commit is contained in:
parent
e507e6ed46
commit
2c33c3b49b
3 changed files with 6 additions and 6 deletions
|
|
@ -48,8 +48,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
|
|||
fi && \
|
||||
# Configure pip globally
|
||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||
# Install ytdl-sub, ensure it is installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl && \
|
||||
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||
ytdl-sub -h && \
|
||||
# Delete unneeded packages after install
|
||||
rm ytdl_sub-*.whl && \
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ RUN mkdir -p /config && \
|
|||
deno --help && \
|
||||
# Configure pip globally
|
||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||
# Install ytdl-sub, ensure it is installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl && \
|
||||
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||
ytdl-sub -h && \
|
||||
# Delete unneeded packages after install
|
||||
rm ytdl_sub-*.whl && \
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
|
|||
deno --help && \
|
||||
# Configure pip globally
|
||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||
# Install ytdl-sub, ensure it is installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl && \
|
||||
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||
ytdl-sub -h && \
|
||||
# Delete unneeded packages after install
|
||||
rm ytdl_sub-*.whl && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue