[Feature] Youtube importing and refreshing implementation (ytdlp) (#1)

Reviewed-on: #1
This commit is contained in:
2026-01-07 22:56:37 +00:00
parent 802e968522
commit 3334d51e96
34 changed files with 986 additions and 360 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