Skip to content

Commit

Permalink
Merge pull request #122 from moevm/PB-81
Browse files Browse the repository at this point in the history
fix for Dockerfile - better caching
  • Loading branch information
zmm authored Sep 15, 2023
2 parents 8bd3ef0 + 4a532b1 commit 4c92909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ 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/


ARG TELEGRAM_TOKEN

CMD python ./bot.py ${TELEGRAM_TOKEN} ${MONGO_INITDB_ROOT_USERNAME} ${MONGO_INITDB_ROOT_PASSWORD} ${MODE}
CMD python ./bot.py ${TELEGRAM_TOKEN} ${MONGO_INITDB_ROOT_USERNAME} ${MONGO_INITDB_ROOT_PASSWORD} ${MODE}

0 comments on commit 4c92909

Please sign in to comment.