[BACKEND] Check ffmpeg + ytdl-sub versions in Dockerfile to ensure successful installation (#359)
This commit is contained in:
parent
06a9ed2974
commit
031e17307a
1 changed files with 5 additions and 0 deletions
|
|
@ -16,7 +16,12 @@ RUN apk update --no-cache && \
|
|||
py3-pip \
|
||||
py3-setuptools && \
|
||||
mkdir -p /config && \
|
||||
# Ensure ffmpeg is installed property
|
||||
ffmpeg -version && \
|
||||
# Install ytdl-sub, ensure it is installed propertly
|
||||
pip install --no-cache-dir ytdl_sub-*.whl && \
|
||||
ytdl-sub -h && \
|
||||
# Delete unneeded packages after install
|
||||
rm ytdl_sub-*.whl && \
|
||||
apk del \
|
||||
g++ \
|
||||
|
|
|
|||
Loading…
Reference in a new issue