Use wildcard for cryptg wheel name

This commit is contained in:
Tulir Asokan
2022-06-27 21:41:59 +03:00
parent 6b0ece5da1
commit 98da5fecc3
+2 -2
View File
@@ -49,10 +49,10 @@ COPY requirements.txt /opt/mautrix-telegram/requirements.txt
COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt
WORKDIR /opt/mautrix-telegram
RUN apk add --virtual .build-deps python3-dev libffi-dev build-base \
&& pip3 install /cryptg-0.3.1-cp310-cp310-linux_x86_64.whl \
&& pip3 install /cryptg-*.whl \
&& pip3 install --no-cache-dir -r requirements.txt -r optional-requirements.txt \
&& apk del .build-deps \
&& rm -f /cryptg-0.3.1-cp310-cp310-linux_x86_64.whl
&& rm -f /cryptg-*.whl
COPY . /opt/mautrix-telegram
RUN apk add git && pip3 install --no-cache-dir .[all] && apk del git \