From 4529a63082598bfec00816968ae753dbb81558ad Mon Sep 17 00:00:00 2001 From: Holden Date: Fri, 12 Jun 2026 02:01:27 +0000 Subject: [PATCH] fix: add WORKDIR /app to runtime stage in Dockerfile Runtime stage was missing WORKDIR, so uv run started from / and couldn't find the .venv or pyproject.toml, causing "No module named 'winnow'" on container startup. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 755ba94..2214041 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,6 +68,7 @@ RUN groupadd -g 568 apps && useradd -u 568 -g apps -m -s /bin/bash appuser \ && mkdir -p /models/.insightface /models/huggingface \ && chown -R appuser:apps /app /models +WORKDIR /app USER appuser ENV HF_HOME=/models/huggingface INSIGHTFACE_HOME=/models