Browse Source

feat(docker): enable correct UID and GID setting via docker-compose.yml (#31)

pull/36/merge
Justus557 2 years ago
committed by GitHub
parent
commit
dc733f7df5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      entrypoint.sh

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

Loading…
Cancel
Save