fix for puthon version

This commit is contained in:
shivam 2026-01-10 12:01:57 -08:00
parent e1f9050325
commit 3db2302c46
3 changed files with 4 additions and 8 deletions

View file

@ -12,7 +12,7 @@ WORKDIR /app
USER root
# Install build dependencies
RUN apk add --no-cache bash gcc py3-pip python3 python3-dev openssl openssl-dev
RUN apk add --no-cache bash gcc python3-dev openssl openssl-dev
RUN python -m pip install build
@ -46,7 +46,7 @@ FROM $LITELLM_RUNTIME_IMAGE AS runtime
USER root
# Install runtime dependencies
RUN apk add --no-cache bash openssl tzdata nodejs npm python3 py3-pip
RUN apk add --no-cache bash openssl tzdata nodejs npm
WORKDIR /app
# Copy the current directory contents into the container at /app

View file

@ -15,8 +15,6 @@ USER root
RUN apk add --no-cache \
bash \
gcc \
py3-pip \
python3 \
python3-dev \
openssl \
openssl-dev
@ -48,7 +46,7 @@ FROM $LITELLM_RUNTIME_IMAGE AS runtime
USER root
# Install runtime dependencies
RUN apk add --no-cache bash openssl tzdata nodejs npm python3 py3-pip
RUN apk add --no-cache bash openssl tzdata nodejs npm
WORKDIR /app
# Copy the current directory contents into the container at /app

View file

@ -14,8 +14,6 @@ USER root
# Install build dependencies with retry logic (includes node for UI build)
RUN for i in 1 2 3; do \
apk add --no-cache \
python3 \
py3-pip \
clang \
llvm \
lld \
@ -102,7 +100,7 @@ RUN for i in 1 2 3; do \
apk upgrade --no-cache && break || sleep 5; \
done \
&& for i in 1 2 3; do \
apk add --no-cache python3 py3-pip bash openssl tzdata nodejs npm supervisor && break || sleep 5; \
apk add --no-cache bash openssl tzdata nodejs npm supervisor && break || sleep 5; \
done
# Copy artifacts from builder