Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim AS deps
FROM python:3.14-slim AS deps

WORKDIR /app

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

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

FROM python:3.11-slim AS model-download
FROM python:3.14-slim AS model-download

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

Expand All @@ -33,7 +33,7 @@ open_clip.create_model_and_transforms(
print("Model weights cached.")
EOF

FROM python:3.11-slim AS runtime
FROM python:3.14-slim AS runtime

RUN apt-get update && apt-get install -y --no-install-recommends \
libglib2.0-0 \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "embedding-api"
version = "0.1.0"
description = "CPU-optimized image embedding API using OpenCLIP"
readme = "README.md"
requires-python = "==3.11.*"
requires-python = "==3.14.*"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
Expand Down