From 30efc5e42f7e07ebc01b93d3ad34478b7ea67cd1 Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Tue, 23 Jun 2026 19:39:24 -0700 Subject: [PATCH] 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. --- Dockerfile.multi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.multi b/Dockerfile.multi index 71253ef86e..2ae4772440 100644 --- a/Dockerfile.multi +++ b/Dockerfile.multi @@ -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.