From 329cc405e5c54ab80723f77659e8670336008778 Mon Sep 17 00:00:00 2001 From: jrt101 Date: Mon, 19 Sep 2022 09:40:40 +0000 Subject: [PATCH 1/2] updatepython Signed-off-by: jrt101 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4aaa579..76d8391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie RUN set -x \ && apk add --no-cache --virtual .build-deps build-base g++ gcc libxslt-dev python2-dev linux-headers \ && apk add --no-cache pwgen git tzdata zlib-dev freetype-dev jpeg-dev mariadb-dev postgresql-dev \ + && && pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \ && python -m pip install --upgrade pip \ && pip --no-cache-dir install -r requirements.txt \ && pip --no-cache-dir install mysqlclient \ From 50904c881ef5b2c5ff50298eb9c063641a6f736f Mon Sep 17 00:00:00 2001 From: jrt101 Date: Mon, 19 Sep 2022 09:42:57 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8A=A0=E9=80=9Fpython=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=BA=90=EF=BC=8C=E5=AE=89=E8=A3=85uwsgi?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jrt101 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76d8391..00fae3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,6 @@ COPY . /app/MrDoc/ WORKDIR /app/MrDoc RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories - RUN set -x \ && apk add --no-cache --virtual .build-deps build-base g++ gcc libxslt-dev python2-dev linux-headers \ && apk add --no-cache pwgen git tzdata zlib-dev freetype-dev jpeg-dev mariadb-dev postgresql-dev \ @@ -17,6 +16,7 @@ RUN set -x \ && python -m pip install --upgrade pip \ && pip --no-cache-dir install -r requirements.txt \ && pip --no-cache-dir install mysqlclient \ + && pip --no-cache-dir install uwsgi \ && chmod +x docker_mrdoc.sh \ && apk del .build-deps \ && rm -rf /var/cache/apk/*