forked from lyonipiece/FridayUserbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
73 lines (70 loc) · 1.99 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
FROM kalilinux/kali-rolling
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && apt upgrade -y && apt-get install sudo -y
RUN apt-get install -y\
coreutils \
gifsicle \
apt-utils \
bash \
bzip2 \
imagemagick \
build-essential \
cmake \
curl \
libmagic-dev \
tesseract-ocr \
tesseract-ocr-eng \
imagemagick \
figlet \
gcc \
g++ \
git \
espeak \
libevent-dev \
libjpeg-dev \
libffi-dev \
libpq-dev \
libsqlite3-dev \
libwebp-dev \
libgl1 \
musl \
neofetch \
libcurl4-openssl-dev \
postgresql \
postgresql-client \
postgresql-server-dev-all \
openssl \
mediainfo \
wget \
python3 \
python3-dev \
python3-pip \
libreadline-dev \
zipalign \
sqlite3 \
ffmpeg \
libsqlite3-dev \
axel \
zlib1g-dev \
recoverjpeg \
zip \
megatools \
libfreetype6-dev \
procps \
policykit-1
RUN apt-get autoremove --purge
RUN pip3 install --upgrade pip setuptools
RUN pip3 install --upgrade pip
RUN if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi
RUN if [ ! -e /usr/bin/python ]; then ln -sf /usr/bin/python3 /usr/bin/python; fi
RUN rm -r /root/.cache
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install -y ./google-chrome-stable_current_amd64.deb && rm google-chrome-stable_current_amd64.deb
RUN wget https://chromedriver.storage.googleapis.com/88.0.4324.96/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && chmod +x chromedriver && mv -f chromedriver /usr/bin/ && rm chromedriver_linux64.zip
RUN wget -O opencv.zip https://github.com/opencv/opencv/archive/master.zip && unzip opencv.zip && mv -f opencv-master /usr/bin/ && rm opencv.zip
RUN git clone https://github.com/DevsExpo/FridayUserbot /root/fridaybot
RUN mkdir /root/fridaybot/bin/
WORKDIR /root/fridaybot/
RUN chmod +x /usr/local/bin/*
RUN pip3 install -r requirements.txt
CMD ["bash","start.sh"]