Skip to content

Commit 85eb334

Browse files
committed
migrate to python 3.12 to debug DNS issue
1 parent e7e947d commit 85eb334

File tree

4 files changed

+5
-257
lines changed

4 files changed

+5
-257
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.12

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-alpine3.20 AS builder
1+
FROM python:3.12 AS builder
22

33
COPY --from=ghcr.io/astral-sh/uv:0.6.9 /uv /uvx /bin/
44
RUN apk add git
@@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
1919
uv sync --frozen --no-dev
2020

2121
# Then, use a final image without uv
22-
FROM python:3.11-alpine3.20
22+
FROM python:3.12
2323
RUN apk add ffmpeg
2424

2525
# It is important to use the image that matches the builder, as the path to the

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "ingest"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
6-
requires-python = ">=3.11"
6+
requires-python = ">=3.12"
77
dependencies = [
88
"fastapi[standard]>=0.116.1",
99
"frikanalen-django-api-client",

0 commit comments

Comments
 (0)