From c1c361ef9bd866c11e09d28b2f26b6fd43d66dad Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Sat, 24 Feb 2024 23:29:45 +0000 Subject: [PATCH] tune for new dottie image --- docker/dottie | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/dottie b/docker/dottie index a6ad7bc78..8bd304a03 100755 --- a/docker/dottie +++ b/docker/dottie @@ -3,6 +3,7 @@ set -e -o errexit -o nounset -o pipefail declare project_root="${PWD}" +declare user="${PF_USER:=www-data}" if command -v git &>/dev/null; then project_root=$(git rev-parse --show-toplevel) @@ -19,9 +20,9 @@ declare -a flags=( --rm --interactive --tty + --user "${user}" --env TERM --env COLORTERM - --volume "/tmp:/tmp" --volume "${project_root}:/var/www" --workdir /var/www )