Add youtube-dl in docker image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3442bac744
commit
563bafd697
1 changed files with 5 additions and 1 deletions
|
@ -1,9 +1,13 @@
|
||||||
FROM python:slim
|
FROM python:slim
|
||||||
|
|
||||||
|
# flask and app
|
||||||
RUN pip install flask flask-wtf
|
RUN pip install flask flask-wtf
|
||||||
COPY /pytubedl/pytubedl.py /pytubedl.py
|
COPY /pytubedl/pytubedl.py /pytubedl.py
|
||||||
COPY /pytubedl/templates /templates
|
COPY /pytubedl/templates /templates
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
|
# youtube-dl
|
||||||
|
RUN pip install youtube_dl
|
||||||
|
|
||||||
CMD ["python", "pytubedl.py"]
|
CMD ["python", "pytubedl.py"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue