From 4a532b14eb290b8dd4e3dea7ff888ecf336e5ccd Mon Sep 17 00:00:00 2001 From: Mark Zaslavskiy Date: Fri, 15 Sep 2023 12:57:58 +0300 Subject: [PATCH] fix for Dockerfile - better caching --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 752fd50..0abb073 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y ffmpeg && apt-get install -y espeak ENV RUVERSION 0.22 WORKDIR /bot -COPY ./requirements.txt /bot/ RUN pip3 install git+https://github.com/openai/whisper.git +COPY ./requirements.txt /bot/ RUN pip3 install -r requirements.txt COPY . /bot/ @@ -16,4 +16,4 @@ COPY . /bot/ ARG TELEGRAM_TOKEN -CMD python ./bot.py ${TELEGRAM_TOKEN} ${MONGO_INITDB_ROOT_USERNAME} ${MONGO_INITDB_ROOT_PASSWORD} ${MODE} \ No newline at end of file +CMD python ./bot.py ${TELEGRAM_TOKEN} ${MONGO_INITDB_ROOT_USERNAME} ${MONGO_INITDB_ROOT_PASSWORD} ${MODE}