Skip to content

Commit

Permalink
create TTF dir
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Mar 29, 2023
1 parent f9df204 commit 0398014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
# docker run -d --restart=always -e TOKEN="FXI" -e DRIVER=/usr/bin/chromedriver bennythink/archiver

0 comments on commit 0398014

Please sign in to comment.