Bump to Python 3.13

This commit is contained in:
2025-08-16 23:28:10 +01:00
parent 1872a97088
commit f52d8ca81e
4 changed files with 230 additions and 196 deletions

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/astral-sh/uv:python3.9-bookworm-slim AS builder
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim AS builder
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
ENV UV_PYTHON_DOWNLOADS=0
WORKDIR /app
@@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --locked --no-dev
FROM python:3.9-slim-bookworm
FROM python:3.13-slim-bookworm
COPY --from=builder --chown=app:app /app /app
ENV PATH="/app/.venv/bin:$PATH"
EXPOSE 80/tcp