pytubedl/Dockerfile

15 lines
236 B
Docker
Raw Normal View History

2021-04-12 22:57:39 +02:00
FROM python:slim
2021-04-13 04:09:53 +02:00
# flask and app
2021-04-12 23:23:48 +02:00
RUN pip install flask flask-wtf
2021-04-13 05:24:58 +02:00
COPY /pytubedl/ /pytubedl/
RUN chmod 755 /pytubedl/dl_wrapper.sh
2021-04-12 22:57:39 +02:00
EXPOSE 5000
2021-04-13 04:09:53 +02:00
# youtube-dl
RUN pip install youtube_dl
2021-04-13 05:24:58 +02:00
WORKDIR /pytubedl
2021-04-12 22:57:39 +02:00
CMD ["python", "pytubedl.py"]