Fix Python version
Some checks failed
ci/woodpecker/push/docker-buildx Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/vulnerability-scan Pipeline failed

This commit is contained in:
Liam Steckler 2025-07-05 21:05:09 -07:00
parent 3e8d543f52
commit 848ce517e6

View file

@ -2,7 +2,7 @@
# First, build the application in the `/app` directory. # First, build the application in the `/app` directory.
# See `Dockerfile` for details. # See `Dockerfile` for details.
FROM ghcr.io/astral-sh/uv:python3.12-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_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
# Disable Python downloads, because we want to use the system interpreter # Disable Python downloads, because we want to use the system interpreter
@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
# Then, use a final image without uv # Then, use a final image without uv
FROM python:3.12-slim-bookworm FROM python:3.13-slim-bookworm
# It is important to use the image that matches the builder, as the path to the # It is important to use the image that matches the builder, as the path to the
# Python executable must be the same, e.g., using `python:3.11-slim-bookworm` # Python executable must be the same, e.g., using `python:3.11-slim-bookworm`
# will fail. # will fail.