This commit is contained in:
ILay
2026-05-08 19:21:26 +02:00
parent 6a633f134b
commit e17d7f7c57

View File

@@ -50,6 +50,8 @@ ENV UV_SYSTEM_PYTHON=1
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --no-dev
# Put the project's venv on PATH (matches WORKDIR)
ENV PATH="/app/.venv/bin:${PATH}"
ENV PYTHONPATH="/app/src"
# Make /app writable for the non-root user (e.g. spaCy model downloads)