golang:1.26-alpine uses GOPATH=/go (not /root/go), so the binary was installed to /go/bin/gitea-mcp but the COPY looked at /root/go/bin/. Set GOBIN=/usr/local/bin for a deterministic install location. Also adds harness MCP server bundle to the image.
2.6 KiB
2.6 KiB