Skip to content

Commit a907688

Browse files
authored
fix: correct Python version mismatch in Dockerfile (#21)
Changed runtime image from python:3.13-slim-bookworm to python:3.12-slim-bookworm to match the builder stage version. Fixes ModuleNotFoundError when running Docker containers due to venv incompatibility between Python 3.12 (builder) and Python 3.13 (runtime). Co-authored-by: shitalm <shitalm@users.noreply.github.com>
1 parent 62897d4 commit a907688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
2222
uv sync --frozen --no-dev
2323

2424

25-
FROM python:3.13-slim-bookworm
25+
FROM python:3.12-slim-bookworm
2626
# It is important to use the image that matches the builder, as the path to the
2727
# Python executable must be the same, e.g., using `python:3.11-slim-bookworm`
2828
# will fail.

0 commit comments

Comments
 (0)