исправляет минимальную версию python

This commit is contained in:
2024-08-19 15:38:37 +03:00
parent 2917c9ee46
commit d5e79375ae
5 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.12-slim as builder
FROM python:3.8-slim as builder
RUN pip install poetry
RUN mkdir -p /app
@@ -14,7 +14,7 @@ WORKDIR /app/src/altlinux
RUN poetry lock && poetry install
FROM python:3.12-slim as base
FROM python:3.8-slim as base
COPY --from=builder /app/src/altlinux /app

View File

@@ -8,7 +8,7 @@ authors = [
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.12"
python = ">=3.8,<=3.12"
karkas-core = { extras=["webhook"], path = "../karkas_core", develop = true }
karkas-blocks = { path = "../karkas_blocks", develop = true }