mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
fix(Dockerfile): use uid/gid instead of gotenberg in chown
This commit is contained in:
@@ -203,7 +203,7 @@ COPY --link build/fonts.conf /etc/fonts/conf.d/100-gotenberg.conf
|
|||||||
|
|
||||||
# Copy dictionnaries so that hypens work on Chromium.
|
# Copy dictionnaries so that hypens work on Chromium.
|
||||||
# See https://github.com/gotenberg/gotenberg/issues/1293.
|
# See https://github.com/gotenberg/gotenberg/issues/1293.
|
||||||
COPY --link --chown=gotenberg:gotenberg build/chromium-hyphen-data /opt/gotenberg/chromium-hyphen-data
|
COPY --link --chown="$GOTENBERG_USER_UID:$GOTENBERG_USER_GID" build/chromium-hyphen-data /opt/gotenberg/chromium-hyphen-data
|
||||||
|
|
||||||
# Copy the Golang binaries.
|
# Copy the Golang binaries.
|
||||||
COPY --link --from=pdfcpu-binary-stage /home/pdfcpu /usr/bin/
|
COPY --link --from=pdfcpu-binary-stage /home/pdfcpu /usr/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user