diff --git a/sam/docker/mng/Dockerfile b/sam/docker/mng/Dockerfile index c436fb7..f19b269 100755 --- a/sam/docker/mng/Dockerfile +++ b/sam/docker/mng/Dockerfile @@ -15,8 +15,14 @@ RUN apt-get update && apt-get install -y \ libreoffice-writer-nogui \ fonts-nanum fonts-nanum-extra \ ffmpeg \ + wget \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install zip mysqli pdo pdo_mysql intl soap gd \ + # Pretendard 폰트 설치 (Word→PDF 변환 시 한글 폰트 지원) + && mkdir -p /usr/share/fonts/truetype/pretendard \ + && wget -q "https://github.com/orioncactus/pretendard/releases/download/v1.3.9/Pretendard-1.3.9.zip" -O /tmp/pretendard.zip \ + && unzip -jo /tmp/pretendard.zip "*/Pretendard-*.otf" -d /usr/share/fonts/truetype/pretendard/ \ + && rm -f /tmp/pretendard.zip \ && fc-cache -f # Composer 설치