From 9d2af61944c3279c4444731a6ade676a5b6e1a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Thu, 17 Mar 2022 21:21:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20=D1=81?= =?UTF-8?q?=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11ee1ec..44cac1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,9 @@ ENV TELEGRAM_API_TOKEN="" ENV GBOT_DELAY_TIME=1 ENV GBOT_DELAY_TIME_Q=180 ENV GBOT_CHAT_ID="" -ENV GBOT_DB_PATH="" +ENV GBOT_DB_PATH="/data/support.db" + +RUN git pull +RUN pip install -r requirements.txt + +ENTRYPOINT ["python", "main.py"] \ No newline at end of file