!21 update dockerfile and fix bug

Merge pull request !21 from jonnyan404/master
This commit is contained in:
州的先生 2021-08-07 05:22:55 +00:00 committed by Gitee
commit 5263748ede

View File

@ -8,8 +8,9 @@ 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 wqy-zenhei --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
&& 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 \
&& python -m pip install --upgrade pip \