From 06b752f567fabdc55a1537eaad74e55f13685beb Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Sun, 25 Jun 2023 11:40:28 +0200 Subject: [PATCH] Fixes unable to access '/root/.config/git/attributes': Permission denied (#71) --- docker/entrypoint.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index bdac95f..68a2080 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -8,6 +8,4 @@ usermod -o -u "$UID" $USER chown -R "$USER:$USER" /opengist -export OG_OPENGIST_HOME=/opengist - -su -m $USER -c "/app/opengist/opengist" +exec su $USER -c "OG_OPENGIST_HOME=/opengist /app/opengist/opengist"