From 43047609b1b58043c807db4bff285b3dd4710b7b Mon Sep 17 00:00:00 2001 From: Martyy2003 <131404553+Martyy2003@users.noreply.github.com> Date: Tue, 25 Apr 2023 11:08:27 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ba128d..5621eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM python:3.9.6-alpine3.14 +FROM python:3.10.5-slim-buster -WORKDIR /app +WORKDIR . +RUN apt -qq update && apt -qq install -y git wget pv jq python3-dev ffmpeg mediainfo aria2 COPY . . -RUN apk add --no-cache gcc libffi-dev musl-dev ffmpeg aria2 && pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt +RUN apt install ffmpeg +RUN apt install aria2 -CMD [ "python", "./bot.py" ] +CMD ["python3", "bot.py"]