Skip to content

Fix MCP Dockerfile directory path#2

Merged
stevepresley merged 1 commit intomainfrom
bugfix/resolve-build-action-failure
Aug 30, 2025
Merged

Fix MCP Dockerfile directory path#2
stevepresley merged 1 commit intomainfrom
bugfix/resolve-build-action-failure

Conversation

@stevepresley
Copy link
Copy Markdown
Owner

Summary

  • Fixed MCP Dockerfile to use correct upstream directory structure
  • Changed src/mcp/ to src/mcp_server/ to match Archon repository
  • Updated CMD to use src.mcp_server.mcp_server module path

Problem

Build was failing with: "failed to compute cache key: failed to calculate checksum of ref... '/src/mcp': not
found"

Root Cause

The upstream Archon repository uses mcp_server directory name, not mcp. Our Dockerfile was referencing
the wrong path.

Solution

Updated Dockerfile paths:

  • COPY src/mcp/ src/mcp/COPY src/mcp_server/ src/mcp_server/
  • RUN mkdir -p src/mcp/modulesRUN mkdir -p src/mcp_server/modules
  • CMD ["python", "-m", "src.mcp.mcp_server"]CMD ["python", "-m", "src.mcp_server.mcp_server"]

Test plan

  • Verified GitHub Actions build succeeds
  • Confirmed directory structure matches upstream Archon repository

The upstream Archon repository uses 'mcp_server' directory name,
not 'mcp'. Updated Dockerfile to use correct source paths:
- src/mcp/ -> src/mcp_server/
- Updated CMD to use src.mcp_server.mcp_server module path

This resolves the build failure: "failed to compute cache key:
failed to calculate checksum of ref... '/src/mcp': not found"

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

Co-Authored-By: Claude <noreply@anthropic.com>
@stevepresley stevepresley merged commit d69a29d into main Aug 30, 2025
6 checks passed
stevepresley pushed a commit that referenced this pull request Sep 5, 2025
Project housekeeping: Updated .gitignore and .env.example environment template
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.

2 participants