Add youtube-dl in docker image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kleph 2021-04-13 04:09:53 +02:00
parent 3442bac744
commit 563bafd697

View file

@ -1,9 +1,13 @@
FROM python:slim
# flask and app
RUN pip install flask flask-wtf
COPY /pytubedl/pytubedl.py /pytubedl.py
COPY /pytubedl/templates /templates
EXPOSE 5000
# youtube-dl
RUN pip install youtube_dl
CMD ["python", "pytubedl.py"]