2ch commited on
Commit
f898549
·
verified ·
1 Parent(s): 8ae5e41

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,8 +5,8 @@ RUN pacman -Syu --noconfirm && \
5
  pacman -S --noconfirm curl git ffmpeg deno python-pip && \
6
  pacman -Scc --noconfirm && \
7
  curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
8
- chmod +x /usr/local/bin/yt-dlp && chmod +x /app/app && \
9
- pip install -U bgutil-ytdlp-pot-provider --break-system-packages && \
10
  git clone --single-branch --branch 1.3.1 https://github.com/Brainicism/bgutil-ytdlp-pot-provider.git /bgutil && \
11
  cd /bgutil/server && \
12
  deno install --allow-scripts=npm:canvas --frozen && \
 
5
  pacman -S --noconfirm curl git ffmpeg deno python-pip && \
6
  pacman -Scc --noconfirm && \
7
  curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
8
+ chmod +x /usr/local/bin/yt-dlp && chmod +x /app/app && mkdir -p /root/.config/yt-dlp/plugins && \
9
+ curl -L https://github.com/Brainicism/bgutil-ytdlp-pot-provider/releases/latest/download/bgutil-ytdlp-pot-provider.zip -o /root/.config/yt-dlp/plugins/bgutil-ytdlp-pot-provider.zip && \
10
  git clone --single-branch --branch 1.3.1 https://github.com/Brainicism/bgutil-ytdlp-pot-provider.git /bgutil && \
11
  cd /bgutil/server && \
12
  deno install --allow-scripts=npm:canvas --frozen && \