Skip to content

Commit 4040484

Browse files
fix: official Python 3.14.1, add uv (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 25e8802 commit 4040484

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

backend-py/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# Use the official Python image with UV pre-installed
2-
FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim AS build
1+
# Use Python 3.14.1 base image and install uv
2+
FROM python:3.14.1-slim-bookworm AS build
3+
4+
# Install uv
5+
RUN pip install --no-cache-dir uv
36

47
# Set environment variables for UV
58
ENV UV_COMPILE_BYTECODE=1 \
@@ -27,7 +30,7 @@ COPY src ./src
2730
RUN uv sync --frozen --no-dev
2831

2932
# Production stage
30-
FROM python:3.14.2-slim-bookworm AS deploy
33+
FROM python:3.14.1-slim-bookworm AS deploy
3134

3235
# Set environment variables
3336
ENV PYTHONUNBUFFERED=1 \

0 commit comments

Comments
 (0)