|
@@ -8,8 +8,10 @@ WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./requirements.txt .
|
|
COPY ./requirements.txt .
|
|
|
|
|
|
|
|
|
|
+RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
|
|
|
|
+
|
|
|
RUN apk add musl-dev gcc libxml2-dev libxslt-dev && \
|
|
RUN apk add musl-dev gcc libxml2-dev libxslt-dev && \
|
|
|
- pip install --no-cache-dir -r requirements.txt && \
|
|
|
|
|
|
|
+ pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ && \
|
|
|
apk del gcc musl-dev
|
|
apk del gcc musl-dev
|
|
|
|
|
|
|
|
COPY . .
|
|
COPY . .
|