Last active
February 2, 2021 19:08
-
-
Save metruzanca/31b2451747b8cce4fe5eda4e840cd410 to your computer and use it in GitHub Desktop.
Dockerized CLI for https://github.com/deepjyoti30/ytmdl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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