MDAI Octant
Check out the octant docs.
Building Octant
Building just the Octant API
go build -trimpath -ldflags="-w -s" -o octant ./cmd/octant
Building the "full" webapp requires having the octant-ui repo also checked out.
# From the octant-ui repo base dir
npm install
npm run build
cp -R dist /path/to/octant/web/
# Then, from the octant repo base dir
go build -trimpath -tags webapp -ldflags="-w -s" -o octant ./cmd/octant
Building the docker image uses the git repo build context to pull the webapp files in to build from.