diff --git a/Dockerfile b/Dockerfile index 62538091..6e75e75e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM python:3.12-slim AS builder +FROM python:3.12-slim-bullseye AS builder # Define build argument with default value ARG PORT=8000 @@ -26,7 +26,7 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Final stage -FROM python:3.12-slim +FROM python:3.12-slim-bullseye # Add labels for the final image LABEL org.opencontainers.image.source="https://github.com/codelion/optillm" diff --git a/Dockerfile.proxy_only b/Dockerfile.proxy_only index dc8bdc3e..cc409a1c 100644 --- a/Dockerfile.proxy_only +++ b/Dockerfile.proxy_only @@ -1,5 +1,5 @@ # Build stage -FROM python:3.12-slim AS builder +FROM python:3.12-slim-bullseye AS builder # Define build argument with default value ARG PORT=8000 @@ -26,7 +26,7 @@ COPY requirements_proxy_only.txt . RUN pip install --no-cache-dir -r requirements_proxy_only.txt # Final stage -FROM python:3.12-slim +FROM python:3.12-slim-bullseye LABEL org.opencontainers.image.source=https://github.com/codelion/optillm LABEL org.opencontainers.image.description="OptiLLM proxy-only image for API routing without model serving capabilities" diff --git a/optillm/__init__.py b/optillm/__init__.py index 61648ec9..9aece42c 100644 --- a/optillm/__init__.py +++ b/optillm/__init__.py @@ -2,7 +2,7 @@ import os # Version information -__version__ = "0.1.4" +__version__ = "0.1.5" # Get the path to the root optillm.py spec = util.spec_from_file_location( diff --git a/requirements_proxy_only.txt b/requirements_proxy_only.txt index 6d00653a..d40416eb 100644 --- a/requirements_proxy_only.txt +++ b/requirements_proxy_only.txt @@ -1,22 +1,11 @@ -numpy -networkx openai -z3-solver aiohttp flask azure.identity -scikit-learn litellm requests -beautifulsoup4 -lxml -presidio_analyzer -presidio_anonymizer -nbformat -nbconvert -ipython -ipykernel -gradio -# Constrain spacy version to avoid blis build issues on ARM64 -spacy<3.8.0 cerebras_cloud_sdk +numpy +networkx +z3-solver +sympy \ No newline at end of file diff --git a/setup.py b/setup.py index 3f3a8346..803b0c3e 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="optillm", - version="0.1.4", + version="0.1.5", packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included py_modules=['optillm'], package_data={