litellm/ui
Yuneng Jiang dd8605cff0
chore(build): move the UI image's nginx to 1.31.3 and pin it by digest
The runtime stage tracked nginx 1.27, a mainline line that upstream stopped
maintaining once 1.29 landed, so it no longer picks up any upstream fixes.
Move to 1.31.3-alpine3.24, which keeps the image on the mainline line it
already followed and brings the Alpine base in line with the Node 24
builder stage above it.

Pin the ref by digest and fold it into a UI_RUNTIME_IMAGE arg, matching how
UI_BUILD_IMAGE already carries a full digest-pinned ref. A floating
1.31-alpine tag would have resolved to 1.31.4, published earlier today, and
the digest pin keeps the image reproducible instead of drifting whenever
upstream rebuilds the tag.

Verified by building the runtime stage against both the old and new bases
from a byte-identical static export: the config parses on both and all 17
probed routes match on status, content type, cache headers, gzip
negotiation, and body hash. The only response delta is the nginx version
string in the Server header and the built-in 404 page.
2026-08-19 13:29:19 -07:00
..
litellm-dashboard test(ui): drive fields with change events where the typing is not the behaviour (#37495) 2026-08-19 12:11:37 -07:00
Dockerfile chore(build): move the UI image's nginx to 1.31.3 and pin it by digest 2026-08-19 13:29:19 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00