From 031e17307ae839eb404731a7705ff9cb7c9fbe74 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Thu, 24 Nov 2022 19:19:42 -0800 Subject: [PATCH] [BACKEND] Check ffmpeg + ytdl-sub versions in Dockerfile to ensure successful installation (#359) --- docker/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index f591dd62..6ec12c48 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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++ \