From 01151b451a47d1518f4d1089b84ea4e72856aeda Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Tue, 25 Feb 2025 10:28:14 +0100 Subject: [PATCH] Dockerfile improvements The second build of the UI is useless and slow down the build process. --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd699c795b..8e14674784 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,13 +41,9 @@ RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt RUN pip install redisvl==0.0.7 --no-deps # ensure pyjwt is used, not jwt -RUN pip uninstall jwt -y -RUN pip uninstall PyJWT -y +RUN pip uninstall jwt PyJWT -y RUN pip install PyJWT==2.9.0 --no-cache-dir -# Build Admin UI -RUN chmod +x docker/build_admin_ui.sh && ./docker/build_admin_ui.sh - # Runtime stage FROM $LITELLM_RUNTIME_IMAGE AS runtime