aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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=