25 lines
520 B
Docker
25 lines
520 B
Docker
FROM docker.jcg.re/base-alpine
|
|
|
|
RUN apk add --no-cache \
|
|
python3-dev \
|
|
py3-virtualenv \
|
|
build-base \
|
|
zlib-dev \
|
|
jpeg-dev \
|
|
libxslt-dev \
|
|
libxml2-dev \
|
|
libmagic \
|
|
ffmpeg \
|
|
bash \
|
|
ca-certificates \
|
|
&& mkdir /mautrixtelegram
|
|
|
|
WORKDIR /mautrixtelegram
|
|
|
|
RUN virtualenv -p /usr/bin/python3 . \
|
|
&& source ./bin/activate \
|
|
&& pip install --upgrade https://github.com/tulir/mautrix-telegram/tarball/master#egg=mautrix_telegram[all]
|
|
|
|
COPY root /
|
|
|
|
VOLUME /data
|