From 957293d95b49a2d3cb5836d0441aff50230ac2cc Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Sun, 18 Oct 2026 23:49:07 -0600 Subject: [PATCH] Dockerfile: cache-bust logo URL in the client bundle (defeats stale SW/browser cache of the broken white-plate logo); drop stale precompressed bundle copies --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 71a4c8b..8684c28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,4 +38,6 @@ COPY assets/custom2.js /app/code/librechat/client/dist/assets/custom2.js # rebuild marker 20261019-$(date +%s) RUN sed -i 's|LibreChat|Inference Co‑op|' /app/code/librechat/client/dist/index.html && \ sed -i '/Inference Co‑op<\/title>/a <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html && \ - sed -i '/<link rel="stylesheet" href="assets\/custom.css">/a <script src="assets/custom2.js"></script>' /app/code/librechat/client/dist/index.html + sed -i '/<link rel="stylesheet" href="assets\/custom.css">/a <script src="assets/custom2.js"></script>' /app/code/librechat/client/dist/index.html && \ + sed -i 's|assets/logo.svg|assets/logo.svg?v=3|g' /app/code/librechat/client/dist/assets/index.*.js && \ + rm -f /app/code/librechat/client/dist/assets/index.*.js.gz /app/code/librechat/client/dist/assets/index.*.js.br