Comment by mike-cardwell
3 hours ago
This works for me:
FROM python:3-slim
RUN python3 -m pip --no-cache-dir install 'yt-dlp[default]'
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -q -y ffmpeg curl unzip \
&& curl -fsSL https://deno.land/install.sh -o /tmp/deno.sh \
&& sh /tmp/deno.sh -y \
&& mv /root/.deno/bin/deno /usr/local/bin/ \
&& rm --force --recursive /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENTRYPOINT ["yt-dlp"]
No comments yet
Contribute on Hacker News ↗