Skip to content

Commit

Permalink
Hotfix: Install Thai fonts on production Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg committed Dec 22, 2024
1 parent 1d736dc commit 1e59d25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,15 @@ EXPOSE 3000
# unfonts-core = Korean
# wqy-modern = Chinese
# ipafont = Japanese
# thai-tlwg = Thai (as the name suggests)
# lmodern = Random accents and special symbols for Latin script
RUN apt-get update -qq && \
apt-get install --no-install-recommends -y \
fonts-dejavu \
fonts-unfonts-core \
fonts-wqy-microhei \
fonts-ipafont \
fonts-thai-tlwg \
fonts-lmodern
USER rails:rails
# Regenerate the font cache so WkHtmltopdf can find them
Expand Down

0 comments on commit 1e59d25

Please sign in to comment.