Edit dist/index.html to inject branding
This commit is contained in:
1 parent
6cc87e5833
commit
4e2aac9358
1 file changed
+3
-3
+3
-3
@@ -33,6 +33,6 @@ COPY assets/maskable-icon.png /app/code/librechat/client/dist/assets/maskable-ic
|
||||
COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css
|
||||
COPY assets/custom.js /app/code/librechat/client/dist/assets/custom.js
|
||||
|
||||
# Inject branding into source index.html (before runtime copy)
|
||||
RUN sed -i 's|<title>LibreChat</title>|<title>Inference Co-op</title>|' /app/code/librechat/client/index.html && \
|
||||
sed -i '/<title>Inference Co-op<\/title>/a <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/index.html
|
||||
# Inject branding into built HTML (dist) before image is packaged
|
||||
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
|
||||
Reference in new issue
Block a user