Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
kindly please use this configuration for better performance + u gotta install ffmpeg because not every hosting has one inbuilt
  • Loading branch information
AvikaTrivedi authored Apr 6, 2024
1 parent dc6378a commit 25271bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM python:3.10.6-slim-buster

FROM python:3.9
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install ffmpeg -y
WORKDIR .
COPY . .

RUN pip3 install setuptools
RUN pip3 install --no-cache-dir TgCrypto
RUN pip3 install -r requirements.txt

CMD ["python3", "bot.py"]

0 comments on commit 25271bc

Please sign in to comment.