From 6e030ba3224590bb651121ec1750278cabc1bb79 Mon Sep 17 00:00:00 2001 From: alhendrickson Date: Mon, 29 Jun 2026 13:41:32 +0000 Subject: [PATCH] fix(medcat-trainer): Fix Offline trianer usage by setting env vars --- medcat-trainer/webapp/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/medcat-trainer/webapp/Dockerfile b/medcat-trainer/webapp/Dockerfile index 831012915..12f697cc6 100644 --- a/medcat-trainer/webapp/Dockerfile +++ b/medcat-trainer/webapp/Dockerfile @@ -61,6 +61,9 @@ COPY scripts ./scripts COPY templates ./templates COPY --from=frontend-builder /build/dist ./frontend/dist +ENV UV_PROJECT=/home \ + UV_NO_SYNC=1 + # MEDIA_ROOT is a runtime volume; ensure the directory exists without baking in local uploads RUN mkdir -p /home/api/media