[BACKEND] Check ffmpeg + ytdl-sub versions in Dockerfile to ensure successful installation (#359)

This commit is contained in:
Jesse Bannon 2022-11-24 19:19:42 -08:00 committed by GitHub
parent 06a9ed2974
commit 031e17307a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++ \