create Dockerfile, so it can be run in docker
This commit is contained in:
+10
@@ -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"]
|
||||
Reference in New Issue
Block a user