fix(docker): uv run senza sync nelle immagini server e client, cache uv dell'utente app (#39, #38)

Le immagini server e client non portano vendor/visionsuite: ogni uv run
rivalidava il progetto e falliva. UV_NO_SYNC=1 usa il venv di uv sync.
La cache uv creata da root in build va ceduta all'utente app.
Verificato con build e run delle due immagini.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-21 23:53:12 +02:00
parent 48c47e871e
commit d483fa1b6a
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ RUN test -n "$VISION_ENGINE_VERSION" || { \
}
ENV VISION_ENGINE_VERSION=${VISION_ENGINE_VERSION}
RUN chown -R app:app /app
RUN chown -R app:app /app /tmp/uv-cache
USER app
EXPOSE 8100