diff --git a/Dockerfile b/Dockerfile index 2fd3405..fe562f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,12 +54,15 @@ RUN apk update && apk add --no-cache \ openssl \ linux-headers \ supervisor \ - yt-dlp \ && rm -rf /tmp/* /var/cache/apk/* RUN docker-php-ext-configure zip && docker-php-ext-install zip RUN docker-php-ext-install gd pdo pdo_mysql zip +# Install latest version of the linux binary of yt-dlp into /bin/yt-dlp +# Get the file from https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp +RUN curl -L https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp -o /bin/yt-dlp \ + && chmod +x /bin/yt-dlp # Get latest Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer