From b27b96ebb5387f3d00519849013688bc9fae8622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Wed, 30 Oct 2024 19:21:42 +0100 Subject: [PATCH] Lower Python version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 028edf5..cb23fe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build the requirements.txt using Poetry. -FROM python:3.13 AS builder +FROM python:3.12 AS builder # Set environment variables for Python. ENV PYTHONDONTWRITEBYTECODE 1 @@ -23,7 +23,7 @@ COPY pyproject.toml poetry.lock /app/ RUN poetry self add poetry-plugin-export && poetry export --format=requirements.txt --output=requirements.txt --only=main --without-hashes # Stage 2: Install dependencies and run the application -FROM python:3.13 AS runner +FROM python:3.12 AS runner # Set environment variables for Python. ENV PYTHONDONTWRITEBYTECODE 1