From 91849038e0279b95f26fc87cd9597a0af03710eb Mon Sep 17 00:00:00 2001 From: Ilari Sorvali <42145485+ilarisorvali@users.noreply.github.com> Date: Wed, 8 Jul 2026 20:27:09 +0300 Subject: manual yt-dlp install --- Containerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 202369d..6f25bfa 100644 --- a/Containerfile +++ b/Containerfile @@ -1,11 +1,19 @@ FROM quay.io/fedora/fedora:latest -RUN dnf install -y npm nodejs tsc yt-dlp +RUN dnf install -y npm nodejs tsc unzip wget + RUN groupadd veetibot && useradd -g veetibot veetibot + RUN mkdir /veetibot && chown -R veetibot:veetibot veetibot + WORKDIR veetibot + +#Manual yt-dlp download +RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp + COPY src src COPY package.json . COPY tsconfig.json . + RUN chown -R veetibot:veetibot ./ USER veetibot RUN npm install && npm install puppeteer && npm run build -- cgit v1.3