From 563bafd6979a4581db48c1c020b35afdfbd3ff54 Mon Sep 17 00:00:00 2001 From: kleph Date: Tue, 13 Apr 2021 04:09:53 +0200 Subject: [PATCH] Add youtube-dl in docker image --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 22b2170..69e4d2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]