Skip to content

Commit d5efea0

Browse files
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

File tree

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ WORKDIR /app
4141
# Copy application code
4242
COPY config/ ./config/
4343
COPY src/ ./src/
44+
# Discovery assets — REQUIRED. Without these the .well-known manifests, sitemap,
45+
# robots, favicon, apis.json and landing page 404 in production, making HYDRA
46+
# invisible to crawlers, x402scan, Glama, Smithery and the x402 Bazaar.
47+
COPY static/ ./static/
48+
COPY index.html ./index.html
4449
COPY .env.example .env.example
4550

4651
# Ensure Python can find the app root

0 commit comments

Comments
 (0)