mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-01 11:53:55 +00:00
fix(docker): copy mcp-sandbox.html from client/public not client/dist
vite.config.ts sets publicDir to false during builds so public/ files are not emitted to dist/. The COPY instruction must reference the source path in the client-build stage, not the build output path.
This commit is contained in:
parent
5fb406b450
commit
30efc5e42f
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ COPY --from=data-provider-build /app/packages/data-provider/dist ./packages/data
|
|||
COPY --from=data-schemas-build /app/packages/data-schemas/dist ./packages/data-schemas/dist
|
||||
COPY --from=api-package-build /app/packages/api/dist ./packages/api/dist
|
||||
COPY --from=client-build /app/client/dist ./client/dist
|
||||
COPY --from=client-build /app/client/dist/mcp-sandbox.html ./client/public/mcp-sandbox.html
|
||||
COPY --from=client-build /app/client/public/mcp-sandbox.html ./client/public/mcp-sandbox.html
|
||||
# Propagate build metadata into runtime env so /api/config can expose it.
|
||||
# Declared here (after the heavy install/copy steps) so that commit/date
|
||||
# changing on every CI run does not bust the cache for those layers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue