Switch to custom_v2.css to bust cache
This commit is contained in:
1 parent
9f1f12238e
commit
a4855aba2f
2 files changed
+53
-3
No files matched your search
+3
-3
@@ -30,12 +30,12 @@ COPY assets/icon-192x192.png /app/code/librechat/client/dist/assets/icon-192x192
|
||||
COPY assets/maskable-icon.png /app/code/librechat/client/dist/assets/maskable-icon.png
|
||||
|
||||
# Custom stylesheet and optional helper JS
|
||||
COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css
|
||||
COPY assets/custom_v2.css /app/code/librechat/client/dist/assets/custom_v2.css
|
||||
# rebuild trigger
|
||||
COPY assets/custom2.js /app/code/librechat/client/dist/assets/custom2.js
|
||||
|
||||
# Inject branding into built HTML (dist) before image is packaged
|
||||
# rebuild marker 20261019-$(date +%s)
|
||||
RUN sed -i 's|<title>LibreChat</title>|<title>Inference Co‑op</title>|' /app/code/librechat/client/dist/index.html && \
|
||||
sed -i '/<title>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 '/<title>Inference Co‑op<\/title>/a <link rel="stylesheet" href="assets/custom_v2.css">' /app/code/librechat/client/dist/index.html && \
|
||||
sed -i '/<link rel="stylesheet" href="assets\/custom_v2.css">/a <script src="assets/custom2.js"></script>' /app/code/librechat/client/dist/index.html
|
||||
Reference in new issue
Block a user