Skip to content

Commit e819a77

Browse files
authored
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).
1 parent 0dd8ce9 commit e819a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ fi
1010
groupmod -o -g "${PGID}" ab
1111
usermod -o -u "${PUID}" ab
1212

13-
chown ab:ab -R /app /home/ab
13+
chown ab:ab -R /app/data /app/config /home/ab
1414

1515
exec su-exec "${PUID}:${PGID}" python main.py

0 commit comments

Comments
 (0)