Optimise dockerfile a little lot a bit

This commit is contained in:
2026-01-25 22:42:55 +00:00
parent bd8ead54f3
commit ce3d1ff685
2 changed files with 41 additions and 1 deletions

View File

@@ -31,7 +31,8 @@ COPY . /app
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --all-groups
FROM base
FROM python:3.10-slim-trixie
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY --from=builder /app /app
WORKDIR /app
ENV PATH="/app/.venv/bin:$PATH"