diff options
author | Mole Shang <[email protected]> | 2023-01-25 04:12:23 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-01-25 04:20:21 +0800 |
commit | edf030b877a875946215ebf6675a14c96f7f325d (patch) | |
tree | cd51871a4c895d23c61aa96338ba1962ff61a773 | |
parent | afa152d8c5ac8a74945612255f78cb4acbf84450 (diff) | |
download | telegram-mail-bot-edf030b877a875946215ebf6675a14c96f7f325d.tar.gz telegram-mail-bot-edf030b877a875946215ebf6675a14c96f7f325d.tar.bz2 telegram-mail-bot-edf030b877a875946215ebf6675a14c96f7f325d.zip |
chore(Dockerfile): update docker ENV
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,12 +1,13 @@ -from python:3.9 +FROM python:3.9 -RUN pip install --no-cache-dir pytz python-telegram-bot pyzmail36 +RUN pip install --no-cache-dir pytz python-telegram-bot==13.1 pyzmail36 imapclient COPY utils /opt/workdir/telegram-mail-bot/utils COPY bot.py /opt/workdir/telegram-mail-bot/ WORKDIR /opt/workdir/telegram-mail-bot +ENV OWNER_CHAT_ID= ENV TELEGRAM_TOKEN= -CMD ["/bin/sh", "-c", "/usr/local/bin/python bot.py" ]
\ No newline at end of file +CMD ["/bin/sh", "-c", "/usr/local/bin/python bot.py" ] |