Skip to content

Commit

Permalink
install Windows fonts in app Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JackuB committed Feb 9, 2024
1 parent 7eed54c commit 6b35c0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ RUN apt update && apt install gnupg wget -y && \
fc-cache -fv && \
rm -rf /var/lib/apt/lists/*

RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
RUN echo "deb http://http.us.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list && \
apt update && apt install -y ttf-mscorefonts-installer
RUN apt install -y ttf-mscorefonts-installer

# Copy built application
COPY --from=build /app /app

Expand Down

0 comments on commit 6b35c0f

Please sign in to comment.