Commit d5efea0
committed
CRITICAL: Dockerfile missing static/ + index.html — .well-known manifests 404 in prod
Root cause of HYDRA being undiscoverable: the production Docker image copied only
config/ and src/, never static/ or index.html. So every file-backed route 404'd
in production — all .well-known/* discovery manifests (x402.json, mcp.json,
agent.json, ai-plugin.json, llms.txt, agents.json), sitemap.xml, robots.txt,
favicon, apis.json, and the landing page. Confirmed via the HYDRA Autonomous
Operations workflow (manifest-verification: 7/10 paths 404, only generated routes
openapi/pricing/docs returned 200).
Impact: x402scan, Glama, Smithery, crawlers and the x402 Bazaar fetch these
manifests to discover and pay the service. With them 404ing, no metadata or
distribution work could convert. This is the binding bug behind 'no discovery'.
Fix: COPY static/ ./static/ and COPY index.html ./index.html in the runtime stage.1 parent b9c50be commit d5efea0
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments