Skip to content

Commit 1f2ce39

Browse files
committed
use ubuntu instead of debian for containers
1 parent ed40e94 commit 1f2ce39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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"

0 commit comments

Comments
 (0)