Skip to content

Commit 39ca762

Browse files
authored
Merge pull request #165 from codelion/codelion-patch-1
Update requirements_proxy_only.txt
2 parents 7be1f50 + 1f2ce39 commit 39ca762

5 files changed

+10
-21
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM python:3.12-slim AS builder
2+
FROM python:3.12-slim-bullseye AS builder
33

44
# Define build argument with default value
55
ARG PORT=8000
@@ -26,7 +26,7 @@ COPY requirements.txt .
2626
RUN pip install --no-cache-dir -r requirements.txt
2727

2828
# Final stage
29-
FROM python:3.12-slim
29+
FROM python:3.12-slim-bullseye
3030

3131
# Add labels for the final image
3232
LABEL org.opencontainers.image.source="https://github.com/codelion/optillm"

Dockerfile.proxy_only

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM python:3.12-slim AS builder
2+
FROM python:3.12-slim-bullseye AS builder
33

44
# Define build argument with default value
55
ARG PORT=8000
@@ -26,7 +26,7 @@ COPY requirements_proxy_only.txt .
2626
RUN pip install --no-cache-dir -r requirements_proxy_only.txt
2727

2828
# Final stage
29-
FROM python:3.12-slim
29+
FROM python:3.12-slim-bullseye
3030

3131
LABEL org.opencontainers.image.source=https://github.com/codelion/optillm
3232
LABEL org.opencontainers.image.description="OptiLLM proxy-only image for API routing without model serving capabilities"

optillm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33

44
# Version information
5-
__version__ = "0.1.4"
5+
__version__ = "0.1.5"
66

77
# Get the path to the root optillm.py
88
spec = util.spec_from_file_location(

requirements_proxy_only.txt

+4-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
1-
numpy
2-
networkx
31
openai
4-
z3-solver
52
aiohttp
63
flask
74
azure.identity
8-
scikit-learn
95
litellm
106
requests
11-
beautifulsoup4
12-
lxml
13-
presidio_analyzer
14-
presidio_anonymizer
15-
nbformat
16-
nbconvert
17-
ipython
18-
ipykernel
19-
gradio
20-
# Constrain spacy version to avoid blis build issues on ARM64
21-
spacy<3.8.0
227
cerebras_cloud_sdk
8+
numpy
9+
networkx
10+
z3-solver
11+
sympy

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="optillm",
6-
version="0.1.4",
6+
version="0.1.5",
77
packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included
88
py_modules=['optillm'],
99
package_data={

0 commit comments

Comments
 (0)