diff --git a/Dockerfile b/Dockerfile index 7a49179..b1a164e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,5 @@ COPY assets/custom.css /app/code/librechat/client/dist/assets/custom.css # Insert the CSS link after the title tag RUN sed -i '/Inference Co-op<\/title>/a <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 -# the upstream markup ever changes) -RUN sed -i 's|<title>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 +# Insert custom CSS link before closing </head> +RUN sed -i '/<\/head>/i <link rel="stylesheet" href="assets/custom.css">' /app/code/librechat/client/dist/index.html