Skip to content

Fix Docker build and add zod dependency#196

Merged
bokelley merged 8 commits into
mainfrom
add-security-middleware
Nov 15, 2025
Merged

Fix Docker build and add zod dependency#196
bokelley merged 8 commits into
mainfrom
add-security-middleware

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Update Dockerfile for unified Express server architecture (two-stage build)
  • Remove nginx configuration, now serving with Node.js directly
  • Add zod as direct dependency (required by @adcp/client)
  • Fixes Fly.io deployment errors (tsc not found, missing zod module)

Test Plan

🤖 Generated with Claude Code

bokelley and others added 8 commits November 15, 2025 09:18
- Update Dockerfile to build TypeScript server instead of static site
- Install all dependencies (including TypeScript) in builder stage
- Copy dist/, server/public/, static/, and registry/ to production image
- Remove nginx - now using Node.js Express server directly
- Remove unused nginx.conf
- Set PORT=8080 for Fly.io compatibility

Fixes build error: "tsc: not found"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
The @adcp/client package requires zod but doesn't declare it properly,
causing Docker production builds to fail. Added zod as a direct
dependency to ensure it's available in production installs.

Fixes: "Cannot find module 'zod'" error in Docker container

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove "Built with Docusaurus" from footer
- Remove DocuSaurus generator meta tag
- Update logo references to use new adcp_logo.svg
- Add new AdCP logo to public directory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Enhanced meta tags and structured data for better discoverability by both
traditional search engines and AI language models:

- Remove DocuSaurus error banner script (unused bloat)
- Enhanced JSON-LD structured data with:
  - Updated logo reference to adcp_logo.svg
  - Software version and release notes
  - Programming language metadata
  - License information
  - SearchAction for docs site
  - FAQ schema with common questions
  - Founding member organizations
- Additional meta tags for AI crawlers:
  - Author and publisher metadata
  - Abstract and topic classification
  - Enhanced robots directives
  - Twitter card metadata
  - Coverage and distribution info
- Expanded keywords for "agentic advertising" and A2A protocol

These changes improve:
1. Traditional SEO for search engines
2. GEO for AI models (Claude, ChatGPT, Perplexity, etc.)
3. Social media preview cards
4. Knowledge graph representation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley merged commit 286d8d4 into main Nov 15, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant