We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95f51dd commit 50421d2Copy full SHA for 50421d2
1 file changed
entrypoint.sh
@@ -8,7 +8,8 @@ APPUSER_UID=$(id -u appuser 2>/dev/null || echo 1000)
8
APPUSER_GID=$(id -g appuser 2>/dev/null || echo 1000)
9
10
# Changer le propriétaire du dossier monté avec les bonnes permissions
11
-chown -R ${APPUSER_UID}:${APPUSER_GID} /config
+chown -R ${APPUSER_UID}:${APPUSER_GID} /config 2>/dev/null || true
12
13
# Exécuter l'application avec l'utilisateur non-root
14
+# Note: su-exec peut afficher "setgroups" warnings en mode Docker, c'est inoffensif
15
exec su-exec ${APPUSER_UID}:${APPUSER_GID} "$@"
0 commit comments