forked from mautrix/telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (36 loc) · 781 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM docker.io/alpine:3.9
ENV UID=1337 \
GID=1337 \
FFMPEG_BINARY=/usr/bin/ffmpeg
COPY . /opt/mautrix-telegram
WORKDIR /opt/mautrix-telegram
RUN apk add --no-cache \
py3-virtualenv \
py3-pillow \
py3-aiohttp \
py3-lxml \
py3-magic \
py3-sqlalchemy \
py3-markdown \
py3-psycopg2 \
# Indirect dependencies
py3-numpy \
py3-asn1crypto \
py3-future \
py3-markupsafe \
py3-mako \
py3-decorator \
py3-dateutil \
py3-idna \
py3-six \
py3-asn1 \
py3-rsa \
# Other dependencies
python3-dev \
build-base \
ffmpeg \
ca-certificates \
su-exec \
&& pip3 install .[all]
VOLUME /data
CMD ["/opt/mautrix-telegram/docker-run.sh"]