Initial implementation of yt-dlp integration

This commit is contained in:
2026-01-04 05:10:15 +05:00
parent 802e968522
commit 04693f99e7
18 changed files with 577 additions and 170 deletions

View File

@ -5,10 +5,23 @@ RUN apt-get update && \
curl \
vim \
git \
unzip \
python3.11 \
ca-certificates \
ffmpeg && \
rm -rf /var/lib/apt/lists/*
RUN ln -sf /usr/bin/python3.11 /usr/bin/python3
RUN curl -fsSL https://bun.sh/install > install.sh && \
chmod +x install.sh && \
./install.sh && \
rm install.sh
RUN curl -L 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
# Create non-root user
RUN groupadd --gid 1000 spring-app && \
useradd --uid 1000 --gid spring-app --shell /bin/bash --create-home spring-app