diff --git a/Dockerfile b/Dockerfile index 990012fa..5d2b526c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,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