Skip to content

Commit

Permalink
fix xkcd font
Browse files Browse the repository at this point in the history
  • Loading branch information
ropc committed Mar 30, 2024
1 parent c88299c commit 7202b44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ RUN pip install -U pip setuptools wheel
RUN pip install pdm

WORKDIR /project

RUN curl -sL https://github.com/ipython/xkcd-font/raw/master/xkcd-script/font/xkcd-script.ttf -o /project/xkcd-script.ttf

# copy files
COPY pyproject.toml pdm.lock /project/
RUN mkdir __pypackages__ && pdm sync --prod --no-editable
Expand All @@ -18,6 +21,7 @@ COPY --from=builder /project/__pypackages__/3.12/lib /project/pkgs
# retrieve executables
COPY --from=builder /project/__pypackages__/3.12/bin/* /bin/
WORKDIR /project
COPY --from=builder /project/*.ttf /usr/share/fonts/truetype/
COPY fonts/* /usr/share/fonts/truetype/
COPY assets ./assets
COPY tests ./tests
Expand Down
Binary file removed fonts/Humor-Sans-1.0.ttf
Binary file not shown.

0 comments on commit 7202b44

Please sign in to comment.