From edf030b877a875946215ebf6675a14c96f7f325d Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Wed, 25 Jan 2023 04:12:23 +0800 Subject: chore(Dockerfile): update docker ENV --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2aca3f3..c4a3c6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] -- cgit v1.2.3