diff --git a/Dockerfile b/Dockerfile index 3768d80..f0c3977 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Multi-stage Dockerfile for allocator-bot # Build stage -FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim AS builder ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy ENV UV_PYTHON_DOWNLOADS=0 @@ -11,7 +11,8 @@ COPY . /app RUN uv sync --locked --no-dev # Runtime stage -FROM python:3.12-slim-bookworm +FROM python:3.13-slim-bookworm + WORKDIR /app # Create non-root user diff --git a/pyproject.toml b/pyproject.toml index 6c702d8..6b357b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ dependencies = [ "openbb-core>=1.4.8", "openbb-fmp>=1.3.5", "openbb-platform-api>=1.1.13", + "packaging>=26.0", "pandas>=2.2.3", "pyportfolioopt>=1.5.6", "sse-starlette>=2.1.3", diff --git a/uv.lock b/uv.lock index 22d6e73..e6f0a2f 100644 --- a/uv.lock +++ b/uv.lock @@ -128,6 +128,7 @@ dependencies = [ { name = "openbb-core" }, { name = "openbb-fmp" }, { name = "openbb-platform-api" }, + { name = "packaging" }, { name = "pandas", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, { name = "pandas", version = "3.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "pyportfolioopt" }, @@ -161,6 +162,7 @@ requires-dist = [ { name = "openbb-core", specifier = ">=1.4.8" }, { name = "openbb-fmp", specifier = ">=1.3.5" }, { name = "openbb-platform-api", specifier = ">=1.1.13" }, + { name = "packaging", specifier = ">=26.0" }, { name = "pandas", specifier = ">=2.2.3" }, { name = "pandas-stubs", marker = "extra == 'dev'", specifier = ">=2.2.3.250527" }, { name = "pyportfolioopt", specifier = ">=1.5.6" },