Skip to content

Commit

Permalink
Add Korean font for Puppeteer in Docker image (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb authored Jul 25, 2024
1 parent 84ce541 commit fd62043
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ RUN apk add --no-cache \
ca-certificates \
ttf-freefont

# Download Korean font for Puppeteer
RUN mkdir /usr/share/fonts/nanumfont && \
wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip && \
unzip NanumFont_TTF_ALL.zip -d /usr/share/fonts/nanumfont && \
fc-cache -f -v

# Set the environment variables
ENV NODE_ENV production
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
Expand Down

0 comments on commit fd62043

Please sign in to comment.