diff --git a/Dockerfile b/Dockerfile index ef778b9096e..bd747244668 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker/Dockerfile.database b/docker/Dockerfile.database index 71e944dfbdc..c0bee4dfc22 100644 --- a/docker/Dockerfile.database +++ b/docker/Dockerfile.database @@ -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 diff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_root index c78fa9a90d4..432beccd047 100644 --- a/docker/Dockerfile.non_root +++ b/docker/Dockerfile.non_root @@ -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