diff options
| author | Ilari Sorvali <42145485+ilarisorvali@users.noreply.github.com> | 2026-07-08 20:27:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-08 20:27:09 +0300 |
| commit | 91849038e0279b95f26fc87cd9597a0af03710eb (patch) | |
| tree | 1e15c85154da713e5ed37e87a5de704521f24be6 | |
| parent | 0e9ee5183ccb6d474d522a9d7bfadc3cbea67f87 (diff) | |
manual yt-dlp install
| -rw-r--r-- | Containerfile | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
