Fixes unable to access '/root/.config/git/attributes': Permission denied (#71)

This commit is contained in:
Thomas Miceli 2023-06-25 11:40:28 +02:00 committed by GitHub
parent a35b64455a
commit 06b752f567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"