Add rebuild marker to force CSS injection
This commit is contained in:
1 parent
4e2aac9358
commit
632328db88
1 file changed
+1
@@ -34,5 +34,6 @@ COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css
|
|||||||
COPY assets/custom.js /app/code/librechat/client/dist/assets/custom.js
|
COPY assets/custom.js /app/code/librechat/client/dist/assets/custom.js
|
||||||
|
|
||||||
# Inject branding into built HTML (dist) before image is packaged
|
# 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 && \
|
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 '/<title>Inference Co-op<\/title>/a <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html
|
||||||
Reference in new issue
Block a user