From 9b11a1164be61c2c21a60724c018152c4810fec5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 3 Oct 2023 06:54:19 +0000 Subject: [PATCH] Update python Docker tag --- .gitea/workflows/divent.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/divent.yml b/.gitea/workflows/divent.yml index 5b51c7c..628dedb 100644 --- a/.gitea/workflows/divent.yml +++ b/.gitea/workflows/divent.yml @@ -4,7 +4,7 @@ on: [push] jobs: lint: runs-on: ubuntu-latest - container: python:3.11 + container: python:3.12 steps: - run: apt-get update - run: apt-get install -y git nodejs @@ -43,7 +43,7 @@ jobs: pypi: runs-on: ubuntu-latest - container: python:3.11 + container: python:3.12 needs: [lint] if: startsWith(gitea.ref, 'refs/tags') env: diff --git a/Dockerfile b/Dockerfile index 2c2257b..024dafa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:3.11.5 as build +FROM python:3.12.0 as build WORKDIR /app COPY . . RUN pip install poetry && poetry build -FROM python:3.11.5 +FROM python:3.12.0 COPY --from=build /app/dist /tmp/dist RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist