aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorhyfc <[email protected]>2021-01-25 10:49:16 +0800
committerGitHub <[email protected]>2021-01-25 10:49:16 +0800
commit578759eed8ecdde831f0982784eec4b500555f37 (patch)
treea6e4707dcb6dc1ebb658ca52a22741fdbddd8fe7 /Dockerfile
parent2fd8c96edd91a37fc22def123a717b89adba0725 (diff)
parent477b4cdaf60bae65a809697465e89197e7c877ea (diff)
downloadtelegram-mail-bot-578759eed8ecdde831f0982784eec4b500555f37.tar.gz
telegram-mail-bot-578759eed8ecdde831f0982784eec4b500555f37.tar.bz2
telegram-mail-bot-578759eed8ecdde831f0982784eec4b500555f37.zip
Merge pull request #5 from bit-rich/master
New Telegram APIs and checking current owner.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..2aca3f3
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+from python:3.9
+
+RUN pip install --no-cache-dir pytz python-telegram-bot pyzmail36
+
+COPY utils /opt/workdir/telegram-mail-bot/utils
+COPY bot.py /opt/workdir/telegram-mail-bot/
+
+WORKDIR /opt/workdir/telegram-mail-bot
+
+ENV TELEGRAM_TOKEN=
+
+CMD ["/bin/sh", "-c", "/usr/local/bin/python bot.py" ] \ No newline at end of file