From: Maximilian Friedersdorff Date: Sun, 22 Dec 2019 21:13:32 +0000 (+0000) Subject: Add basic Dockerfile for this app X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=a5da4f6148c78a4feb5f6e70fe2ada2d28754ccf;p=max%2Fremindme.git Add basic Dockerfile for this app --- diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..706806d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3-alpine + +ADD remindme.py remindme.py + +RUN pip3 install croniter IMAPClient python-dateutil \ + && echo 0 > ./remindme_lastrun + +CMD python3 ./remindme.py $(cat ./remindme_lastrun) > ./remindme_lastrun