From 50d1b187bbfae7a882e75e004d175e6d16f08c2e Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Wed, 20 Aug 2025 09:38:05 +0000 Subject: [PATCH] =?UTF-8?q?fix(build):=20switch=20from=20/home/gotenberg?= =?UTF-8?q?=20to=20/opt/gotenberg=20for=20hype=C2=B4=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 942842c4..c9d9f70c 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -261,7 +261,7 @@ COPY build/fonts.conf /etc/fonts/conf.d/100-gotenberg.conf # Copy dictionnaries so that hypens work on Chromium. # See https://github.com/gotenberg/gotenberg/issues/1293. -COPY --chown=gotenberg:gotenberg build/chromium-hyphen-data /home/gotenberg/chromium-hyphen-data +COPY --chown=gotenberg:gotenberg build/chromium-hyphen-data /opt/gotenberg/chromium-hyphen-data # Copy the Golang binaries. COPY --from=compress-go-binaries-stage /home/pdfcpu /usr/bin/ @@ -269,7 +269,7 @@ COPY --from=compress-go-binaries-stage /home/gotenberg /usr/bin/ # Environment variables required by modules or else. ENV CHROMIUM_BIN_PATH=/usr/bin/chromium -ENV CHROMIUM_HYPHEN_DATA_DIR_PATH=/home/gotenberg/chromium-hyphen-data +ENV CHROMIUM_HYPHEN_DATA_DIR_PATH=/opt/gotenberg/chromium-hyphen-data ENV LIBREOFFICE_BIN_PATH=/usr/lib/libreoffice/program/soffice.bin ENV UNOCONVERTER_BIN_PATH=/usr/bin/unoconverter ENV PDFTK_BIN_PATH=/usr/bin/pdftk