Update Dockerfile
Some checks failed
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled

This commit is contained in:
Anduin Xue 2024-07-22 06:03:29 +00:00 committed by GitHub
parent 719c2bb6a9
commit acbd5cdb86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,12 +14,6 @@ WORKDIR /app
COPY --from=lint-env /app .
RUN apt-get update && apt-get install -y weasyprint fonts-noto-cjk wget unzip
RUN rm node_modules -rf && pip install -r requirements.txt
RUN wget https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Config/fonts.conf -O /etc/fonts/local.conf
RUN wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip
RUN unzip -o /tmp/fonts.zip -d /usr/share/fonts/
RUN rm -f /tmp/fonts.zip
RUN fc-cache -fv
RUN mkdocs build
# ============================