Files
localgenai/pyinfra/framework/deploy.py
noisedestroyers d856839526 Fix Kokoro bind-mount permissions
The kokoro-fastapi image runs as UID 1000 and downloads models into
/app/api/src/models on first start. Our 2775 root:docker permissions
weren't writable by that user (the container isn't in the docker
group). Symptom: PermissionError on download_model.py, container
crashloops.

Chown the host dir to 1000:1000 to match the image's user.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:19:13 -04:00

16 KiB