[Feature] Youtube importing and refreshing implementation (ytdlp) (#1)
Reviewed-on: #1
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user