We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec0ffb commit 7e5ed51Copy full SHA for 7e5ed51
1 file changed
docker/docker-entrypoint.sh
@@ -16,8 +16,10 @@ if ! id appuser >/dev/null 2>&1; then
16
adduser -u ${UID} -G appuser -D -s /bin/sh appuser
17
fi
18
19
-# Fix ownership of /app directory
20
-chown -R appuser:appuser /app
+# Fix ownership of app directories (exclude bind mounts like /app/sync and /app/config)
+chown appuser:appuser /app
21
+chown appuser:appuser -R /app/config
22
+chown -R appuser:appuser /app/src /app/static 2>/dev/null || true
23
24
# Switch to appuser and run the command
25
exec su-exec appuser "$@"
0 commit comments