mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-05-07 22:22:55 +08:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user