Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
artxia committed Apr 13, 2021
1 parent 7064f05 commit 22d8d48
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@ ENV EFB_PROFILE "default"
ENV HTTPS_PROXY ""

RUN apk --update upgrade \
&& apk --update add tzdata ca-certificates \
&& apk --update add --no-cache gcc tzdata ca-certificates \
ffmpeg libmagic python3 \
tiff libwebp freetype lcms2 openjpeg py3-olefile openblas \
py3-numpy py3-pillow py3-cryptography py3-decorator cairo py3-pip
RUN pip3 install pysocks ehforwarderbot efb-telegram-master efb-wechat-slave efb-qq-slave
RUN pip install python-telegram-bot[socks]
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
py3-numpy py3-pillow py3-cryptography py3-decorator cairo py3-pip \
musl-dev python3-dev \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone

RUN pip3 install --upgrade pip && pip3 install pysocks ehforwarderbot efb-telegram-master \
https://github.com/ehForwarderBot/efb-wechat-slave/archive/master.zip \
https://github.com/milkice233/efb-qq-slave/archive/master.zip \
https://github.com/milkice233/efb-qq-plugin-mirai/archive/master.zip \
&& pip install python-telegram-bot[socks] \
&& rm -rf /tmp/* /var/cache/apk/* /var/lib/apk/lists/*

WORKDIR .
ADD entrypoint.sh .

Expand Down

0 comments on commit 22d8d48

Please sign in to comment.