mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-05 19:48:23 +00:00
Optimise dockerfile a little lot a bit
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user