perf(entrypoint): narrow chown scope to skip .venv (#1011)

Reduces container startup time on low-spec devices (TrueNAS etc.) by limiting recursive chown to /app/data, /app/config, /home/ab instead of /app.

Closes #969 (related performance).
This commit is contained in:
stonebeta
2026-04-19 18:49:48 +08:00
committed by GitHub
parent 0dd8ce99ad
commit e819a77656

View File

@@ -10,6 +10,6 @@ fi
groupmod -o -g "${PGID}" ab
usermod -o -u "${PUID}" ab
chown ab:ab -R /app /home/ab
chown ab:ab -R /app/data /app/config /home/ab
exec su-exec "${PUID}:${PGID}" python main.py