diff --git a/docker/Dockerfile.worker b/docker/Dockerfile.worker index f814f07e2..e9a679a91 100644 --- a/docker/Dockerfile.worker +++ b/docker/Dockerfile.worker @@ -1,4 +1,4 @@ -FROM python:3-slim as builder +FROM python:3.11-slim as builder WORKDIR /app/ @@ -19,7 +19,7 @@ RUN python3 -m venv /app/.venv && \ pip install --no-cache-dir --index-url https://download.pytorch.org/whl/cpu torch && \ pip install --no-cache-dir -e /app/ -FROM python:3-slim +FROM python:3.11-slim WORKDIR /app diff --git a/src/core/pyproject.toml b/src/core/pyproject.toml index be051cbfb..cc731dd73 100644 --- a/src/core/pyproject.toml +++ b/src/core/pyproject.toml @@ -14,7 +14,7 @@ classifiers = [ ] requires-python = ">=3.11" dependencies = [ - "Flask", + "Flask==2.3.3", "Flask-Cors", "Flask-JWT-Extended", "Flask-Migrate",