Skip to content

Commit c38cfad

Browse files
⬆️ Upgrade Python
1 parent 87f0bc7 commit c38cfad

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim AS deps
1+
FROM python:3.14-slim AS deps
22

33
WORKDIR /app
44

@@ -15,7 +15,7 @@ COPY pyproject.toml pdm.lock LICENSE /app/
1515

1616
RUN pdm install --frozen-lockfile --prod --no-editable --no-self
1717

18-
FROM python:3.11-slim AS model-download
18+
FROM python:3.14-slim AS model-download
1919

2020
COPY --from=deps /app/.venv /app/.venv
2121

@@ -33,7 +33,7 @@ open_clip.create_model_and_transforms(
3333
print("Model weights cached.")
3434
EOF
3535

36-
FROM python:3.11-slim AS runtime
36+
FROM python:3.14-slim AS runtime
3737

3838
RUN apt-get update && apt-get install -y --no-install-recommends \
3939
libglib2.0-0 \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "embedding-api"
33
version = "0.1.0"
44
description = "CPU-optimized image embedding API using OpenCLIP"
55
readme = "README.md"
6-
requires-python = "==3.11.*"
6+
requires-python = "==3.14.*"
77
dependencies = [
88
"fastapi>=0.115.0",
99
"uvicorn[standard]>=0.30.0",

0 commit comments

Comments
 (0)