create Dockerfile, so it can be run in docker

This commit is contained in:
2020-05-23 11:58:10 +02:00
parent ae3d8d9b8b
commit 581a27680d
+10
View File
@@ -0,0 +1,10 @@
FROM python
#copy all the (necesary) parts
COPY . .
#install dependencies
RUN pip install --no-cache-dir -r requirements.txt
#run
CMD ["python", "./MailDispatcher.py"]