From: Magnus Hagander Date: Sun, 14 Sep 2025 12:18:21 +0000 (+0200) Subject: Set uid in sample docker command X-Git-Url: http://git.postgresql.org/gitweb/edit?a=commitdiff_plain;h=c16c7eaf68ed23a18beb861af8d06bea1db9c206;p=pgeu-system.git Set uid in sample docker command This avoids the default of creating files owned by root --- diff --git a/tools/deploystatic/README.docker b/tools/deploystatic/README.docker index 460a5487..75416518 100644 --- a/tools/deploystatic/README.docker +++ b/tools/deploystatic/README.docker @@ -16,7 +16,7 @@ Deploying a directory --------------------- To use this container to deploy to a static directory, use: -docker run -it --rm -v `pwd`:/source -v /tmp/statictest:/target deploystatic +docker run -it --rm -v `pwd`:/source -v /tmp/statictest:/target -u `id -u` deploystatic (In this case taking the templates in the current directory and deploying the result to /tmp/statictest - adjust for your own directories)