Fix sed command for CSS injection

This commit is contained in:
Nathan Schneider committed 2026-10-18 21:08:29 -06:00
1 parent c967d788de
commit d71667346e
1 file changed
+1 -2
+1 -2
View File
@@ -32,8 +32,7 @@ COPY assets/maskable-icon.png /app/code/librechat/client/dist/assets/maskable-ic
# Copy custom branding CSS # Copy custom branding CSS
COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css
# Insert the CSS link after the title tag # Insert the CSS link after the title tag
RUN sed -i '/<title>Inference Co-op<\/title>/a \\ RUN sed -i '/<title>Inference Co-op<\/title>/a <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html
<link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html
# Browser-tab title (index.html is baked at build; sed no-ops harmlessly if # Browser-tab title (index.html is baked at build; sed no-ops harmlessly if
# the upstream markup ever changes) # the upstream markup ever changes)