Skip to content

Commit

Permalink
Add necessary setting in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
choidabom committed Oct 1, 2024
1 parent f5bc303 commit ccc87b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccc87b8

Please sign in to comment.