Skip to content

Commit dc733f7

Browse files
feat(docker): enable correct UID and GID setting via docker-compose.yml (#31)
1 parent c410637 commit dc733f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ echo -e "setting UID to ${UID}"
5454
usermod -u "${UID}" -m -d /data linuxgsm > /dev/null 2>&1
5555
echo -e "setting GID to ${GID}"
5656
groupmod -g "${GID}" linuxgsm
57-
echo -e "updating permissions"
57+
echo -e "updating permissions for /data"
5858
chown -R "${USER}":"${USER}" /data
59+
echo -e "updating permissions for /app"
60+
chown -R "${USER}":"${USER}" /app
5961
export HOME=/data
6062

6163
echo -e ""

0 commit comments

Comments
 (0)