From 03980147da89fbd4d3100e38a708df244b92bfb5 Mon Sep 17 00:00:00 2001 From: Benny Date: Wed, 29 Mar 2023 21:17:57 +0200 Subject: [PATCH] create TTF dir --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d24d2f9..0c83d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN cd /build && make static FROM alpine RUN apk update && apk add --no-cache chromium-chromedriver -RUN wget -O /usr/share/fonts/TTF/SourceHanSans-VF.ttc \ +RUN mkdir -p /usr/share/fonts/TTF && wget -O /usr/share/fonts/TTF/SourceHanSans-VF.ttc \ https://github.com/adobe-fonts/source-han-sans/raw/release/Variable/OTC/SourceHanSans-VF.ttf.ttc ENV TZ=Asia/Shanghai @@ -22,4 +22,4 @@ WORKDIR / CMD ["/bin/sh","/entrypoint.sh"] -# docker run -d --restart=always -e TOKEN="FXI" -e DRIVER=/usr/bin/chromedriver bennythink/archiver \ No newline at end of file +# docker run -d --restart=always -e TOKEN="FXI" -e DRIVER=/usr/bin/chromedriver bennythink/archiver