This commit is contained in:
+3
-2
@@ -4,8 +4,9 @@ WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev openssl-dev \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
RUN sed -i 's|dl-cdn.alpinelinux.org|mirrors.ustc.edu.cn|g' /etc/apk/repositories \
|
||||
&& apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev openssl-dev \
|
||||
&& pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt \
|
||||
&& apk del .build-deps
|
||||
|
||||
# ─────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user