Docker integration

This commit is contained in:
Ali Parlakçı
2020-06-05 17:23:45 +03:00
committed by GitHub
parent a92ddb21f9
commit df7f5381a0
5 changed files with 31 additions and 2 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:latest
WORKDIR "/root/Bulk Downloader for Reddit"
COPY ./requirements.txt ./
RUN ["pip", "install", "-r", "requirements.txt"]
EXPOSE 8080
EXPOSE 7634
CMD ["python", "script.py", "-d", "downloads"]