Use wildcard for cryptg wheel name
This commit is contained in:
+2
-2
@@ -49,10 +49,10 @@ COPY requirements.txt /opt/mautrix-telegram/requirements.txt
|
|||||||
COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt
|
COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt
|
||||||
WORKDIR /opt/mautrix-telegram
|
WORKDIR /opt/mautrix-telegram
|
||||||
RUN apk add --virtual .build-deps python3-dev libffi-dev build-base \
|
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 \
|
&& pip3 install --no-cache-dir -r requirements.txt -r optional-requirements.txt \
|
||||||
&& apk del .build-deps \
|
&& apk del .build-deps \
|
||||||
&& rm -f /cryptg-0.3.1-cp310-cp310-linux_x86_64.whl
|
&& rm -f /cryptg-*.whl
|
||||||
|
|
||||||
COPY . /opt/mautrix-telegram
|
COPY . /opt/mautrix-telegram
|
||||||
RUN apk add git && pip3 install --no-cache-dir .[all] && apk del git \
|
RUN apk add git && pip3 install --no-cache-dir .[all] && apk del git \
|
||||||
|
|||||||
Reference in New Issue
Block a user