explain ui base path

This commit is contained in:
Ishaan Jaff 2024-08-06 18:42:08 -07:00
parent cf44d1e069
commit 671d8ac496

View file

@ -1,5 +1,5 @@
# Use the provided base image # Use the provided base image
FROM ghcr.io/berriai/litellm:main-latest FROM ghcr.io/berriai/litellm:litellm_fwd_server_root_path-dev
# Set the working directory to /app # Set the working directory to /app
WORKDIR /app WORKDIR /app
@ -12,7 +12,8 @@ COPY ./ui/litellm-dashboard /app/ui/litellm-dashboard
# Set an environment variable for UI_BASE_PATH # Set an environment variable for UI_BASE_PATH
# This can be overridden at build time # This can be overridden at build time
ENV UI_BASE_PATH="/genai/ui" # set UI_BASE_PATH to "<your server root path>/ui"
ENV UI_BASE_PATH="/prod/ui"
# Build the UI with the specified UI_BASE_PATH # Build the UI with the specified UI_BASE_PATH
WORKDIR /app/ui/litellm-dashboard WORKDIR /app/ui/litellm-dashboard