diff --git a/Dockerfile b/Dockerfile index 703fb0a..110b4fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim-bookworm AS base +FROM python:3.12-slim-bookworm AS base RUN groupadd --system --gid 500 app RUN useradd --system --uid 500 --gid app --create-home --home-dir /app -s /bin/bash app diff --git a/poetry.lock b/poetry.lock index 87b5e79..4ab6b58 100644 --- a/poetry.lock +++ b/poetry.lock @@ -471,5 +471,5 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" -python-versions = "~3.11" -content-hash = "618553ce8b497e51a48da07cda1dcc66556643c530a032afc33a38aabbd9aeb4" +python-versions = "~3.12" +content-hash = "e5027e96e289fea363ef9147dafe4332c4866f889a2c319913bc0a1e340515a1" diff --git a/pyproject.toml b/pyproject.toml index 5090a94..558d00b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ priority = "explicit" [tool.poetry.dependencies] bs-config = { version = "1.0.0", source = "internal" } certifi = "2023.7.22" -python = "~3.11" +python = "~3.12" python-telegram-bot = "20.5" sentry-sdk = "^1.14.0"