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:
Dustin Healy 2026-06-23 19:39:24 -07:00
parent 5fb406b450
commit 30efc5e42f

View file

@ -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.