diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fdca70e..b3435e3 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - run: pipx install uv - run: uv venv - run: source .venv/bin/activate diff --git a/Dockerfile b/Dockerfile index baec2e0..f8ca215 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build the requirements.txt using Poetry -FROM python:3.12-slim AS builder +FROM python:3.13-slim AS builder # Set environment variables for Python ENV PYTHONDONTWRITEBYTECODE 1 @@ -24,7 +24,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 Django application -FROM python:3.12-slim AS runner +FROM python:3.13-slim AS runner # Set environment variables for Python ENV PYTHONDONTWRITEBYTECODE 1