From a5da4f6148c78a4feb5f6e70fe2ada2d28754ccf Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Sun, 22 Dec 2019 21:13:32 +0000 Subject: [PATCH] Add basic Dockerfile for this app --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile 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 -- 2.46.2