-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (21 loc) · 971 Bytes
/
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
FROM ubuntu:latest
#2021-03-16
ENV LANG C.UTF-8
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y python3 \
&& apt-get install -y python3-dev \
&& apt-get install -y python3-pip \
&& apt-get install -y libffi-dev \
&& apt-get install -y libssl-dev \
&& apt-get install -y musl-dev \
&& apt-get install -y ffmpeg libcairo2-dev libcairo2 git libmagic-dev \
&& apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
RUN pip3 install -U pip \
&& pip3 install --ignore-installed PyYAML \
&& pip3 install efb-telegram-master \
&& pip3 install git+https://github.com/ehForwarderBot/efb-wechat-slave \
&& pip3 install ehforwarderbot \
&& pip3 install python-telegram-bot
CMD ["ehforwarderbot"]