aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-04-29 00:20:39 +0800
committerMole Shang <[email protected]>2023-04-29 00:27:50 +0800
commit5adbd9abe3e303f18ea980e449a0f714fd9ef106 (patch)
tree337857fb9d254aee4e24f535fc8fe1d52b6a6ae4 /Dockerfile
parent546928c977fae4c316c27664e3dfd4982b293ffe (diff)
downloadtelegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.tar.gz
telegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.tar.bz2
telegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.zip
chore: update deps list and migrate dep manager to `pipenv`
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 5f00259..94f087e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,10 @@ WORKDIR /opt/workdir/telegram-mail-bot
COPY utils /opt/workdir/telegram-mail-bot/utils
COPY bot.py /opt/workdir/telegram-mail-bot/
-COPY requirements.txt /opt/workdir/telegram-mail-bot/
+COPY Pipfile Pipfile.lock /opt/workdir/telegram-mail-bot/
-RUN pip install --no-cache-dir -r requirements.txt
+RUN pip install pipenv
+RUN pipenv install --system --deploy
ENV OWNER_CHAT_ID=
ENV TELEGRAM_TOKEN=