init setup
This commit is contained in:
commit
9441bc38a5
2 changed files with 62 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM ubuntu:24.04 as base
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget python3 ffmpeg && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /tmp/yt-dlp
|
||||
|
||||
ARG TARGETARCH=amd64
|
||||
ARG HUGO_VERSION=0.135.0
|
||||
|
||||
RUN wget -O yt-dlp --progress=dot:giga "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp"
|
||||
|
||||
RUN cp /tmp/yt-dlp/yt-dlp /usr/bin/yt-dlp && \
|
||||
chmod a+x /usr/bin/yt-dlp
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["yt-dlp"]
|
||||
CMD ["--help"]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue