From d3c410cba66c6a343d44c5fa04155cdbe7d533f9 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Thu, 27 Feb 2025 11:10:39 +0800 Subject: [PATCH 1/2] fix docker files for github runner a --- Dockerfile | 4 ++-- Dockerfile.proxy_only | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e75e75e..c971c984 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM python:3.12-slim-bullseye AS builder +FROM python:3.12-slim-bookworm 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-bullseye +FROM python:3.12-slim-bookworm # 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 cc409a1c..a3c9f29a 100644 --- a/Dockerfile.proxy_only +++ b/Dockerfile.proxy_only @@ -1,5 +1,5 @@ # Build stage -FROM python:3.12-slim-bullseye AS builder +FROM python:3.12-slim-bookworm 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-bullseye +FROM python:3.12-slim-bookworm 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" From 88649c9ed1422ac0c0f773b9a24bf1e8a7ca8c2e Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Thu, 27 Feb 2025 11:11:34 +0800 Subject: [PATCH 2/2] bump version --- optillm/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/optillm/__init__.py b/optillm/__init__.py index 9aece42c..9ff9e0a4 100644 --- a/optillm/__init__.py +++ b/optillm/__init__.py @@ -2,7 +2,7 @@ import os # Version information -__version__ = "0.1.5" +__version__ = "0.1.6" # Get the path to the root optillm.py spec = util.spec_from_file_location( diff --git a/setup.py b/setup.py index 803b0c3e..2ebd1f13 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="optillm", - version="0.1.5", + version="0.1.6", packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included py_modules=['optillm'], package_data={