diff --git a/Dockerfile b/Dockerfile index 959ae68..a777ac3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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|LibreChat|Inference Co-op|' /app/code/librechat/client/index.html && \ - sed -i '/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|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