-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (20 loc) · 703 Bytes
/
Dockerfile
File metadata and controls
20 lines (20 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:latest
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get install -y unace unrar zip unzip p7zip-full p7zip-rar sharutils rar
RUN apt-get install -y ffmpeg
RUN apt-get install python3 git python3-pip -y
RUN apt-get update \
&& apt-get -y install libpq-dev gcc \
&& pip install psycopg2 \
&& rm -rf /root/.cache/pip/ \
&& find / -name '*.pyc' -delete \
&& find / -name '*__pycache__*' -delete
RUN pip3 install -U psycopg2-binary
RUN python3 -m pip install -U yt-dlp
RUN cd /
RUN git clone https://github.com/muhammedfurkan/TelethonUserBot.git
RUN cd TelethonUserBot
WORKDIR /TelethonUserBot
RUN pip3 install --no-cache-dir -r requirements.txt
CMD python3 -m userbot