diff --git a/Dockerfile b/Dockerfile index a8f1808..b76bc44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/alpine:3.16 as builder -ENV VERSION=86658715022a97062b4a814c4531fc3955f6cbc5 +ENV VERSION=e3a067c27aa3d9dd5e82db307218cc66c8356ddd RUN apk --no-cache add \ sed \ @@ -10,6 +10,8 @@ RUN apk --no-cache add \ musl-dev \ libffi-dev \ python3-dev \ + rust \ + cargo \ py3-pip \ py3-wheel \ py3-brotli \ @@ -46,6 +48,7 @@ RUN git clone https://github.com/mautrix/telegram.git WORKDIR /telegram RUN git checkout "$VERSION" RUN pip3 install --prefix=/install --upgrade -r requirements.txt +RUN pip3 install --prefix=/install --upgrade -r optional-requirements.txt RUN cp -r mautrix_telegram /install/lib/python3.10/site-packages/