Skip to content

Instantly share code, notes, and snippets.

@metruzanca
Last active February 2, 2021 19:08
Show Gist options
  • Save metruzanca/31b2451747b8cce4fe5eda4e840cd410 to your computer and use it in GitHub Desktop.
Save metruzanca/31b2451747b8cce4fe5eda4e840cd410 to your computer and use it in GitHub Desktop.
FROM python:3.8-slim
# Install dependencies: ffmpeg & git
RUN apt-get -y update; \
apt-get -y upgrade; \
apt-get install -y ffmpeg; \
apt-get install -y git
# Manual install ytmdl (https://github.com/deepjyoti30/ytmdl)
RUN pip install setuptools; \
git clone https://github.com/deepjyoti30/ytmdl; \
cd ytmdl; \
python setup.py install
# Add volume mount point for downloades
VOLUME /downloads
WORKDIR /downloads
# Set Entrypoint for the CLI
ENTRYPOINT [ "ytmdl" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment