From 9092552e7ebc55de46e345c0ccdbf7ed0d423224 Mon Sep 17 00:00:00 2001 From: Justus557 Date: Thu, 14 Sep 2023 22:12:37 +0200 Subject: [PATCH] feat(docker): enable correct UID and GID setting via docker-compose.yml --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b1742b8..38462b0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -54,8 +54,10 @@ echo -e "setting UID to ${UID}" usermod -u "${UID}" -m -d /data linuxgsm > /dev/null 2>&1 echo -e "setting GID to ${GID}" groupmod -g "${GID}" linuxgsm -echo -e "updating permissions" +echo -e "updating permissions for /data" chown -R "${USER}":"${USER}" /data +echo -e "updating permissions for /app" +chown -R "${USER}":"${USER}" /app export HOME=/data echo -e ""