diff --git a/Dockerfile b/Dockerfile index 5f68ca26..5fd79e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM python:3.9.2-slim-buster RUN mkdir /bot && chmod 777 /bot WORKDIR /bot ENV DEBIAN_FRONTEND=noninteractive -RUN apt -qq update && apt -qq install -y git wget pv jq wget python3-dev ffmpeg mediainfo && pip3 install python-decouple telethon telethon-tgcrypto html_telegraph_poster requests +RUN apt -qq update && apt -qq install -y git wget pv jq wget python3-dev ffmpeg mediainfo COPY . . +RUN pip3 install -r requirements.txt CMD ["bash","run.sh"] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..9d76f9e3 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +aiohttp +python-decouple +cryptg +TgCrypto +telethon +html_telegraph_poster +requests diff --git a/start.py b/start.py index 38911615..fdf3a493 100644 --- a/start.py +++ b/start.py @@ -15,10 +15,6 @@ from helper._get import * -basicConfig(format="[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s", level=INFO) -LOGS = getLogger(__name__) - - LOGS.info("Starting...")