diff options
author | hyfc <[email protected]> | 2021-01-25 10:49:16 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-25 10:49:16 +0800 |
commit | 578759eed8ecdde831f0982784eec4b500555f37 (patch) | |
tree | a6e4707dcb6dc1ebb658ca52a22741fdbddd8fe7 /Dockerfile | |
parent | 2fd8c96edd91a37fc22def123a717b89adba0725 (diff) | |
parent | 477b4cdaf60bae65a809697465e89197e7c877ea (diff) | |
download | telegram-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-- | Dockerfile | 12 |
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 |