Fix Python version
This commit is contained in:
parent
3e8d543f52
commit
848ce517e6
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# First, build the application in the `/app` directory.
|
||||
# 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
|
||||
|
||||
# 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
|
||||
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
|
||||
# Python executable must be the same, e.g., using `python:3.11-slim-bookworm`
|
||||
# will fail.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue