[{"data":1,"prerenderedAt":129},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Fbuild":3},{"id":4,"title":5,"body":6,"description":16,"extension":122,"meta":123,"navigation":124,"path":125,"seo":126,"stem":127,"__hash__":128},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Fbuild.md","axon build",{"type":7,"value":8,"toc":119},"minimark",[9,13,17,40,47,87,94,105,115],[10,11,5],"h1",{"id":12},"axon-build",[14,15,16],"p",{},"Build a deployable artifact from the current agent.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes dark-plus","axon build\n","bash","",[25,26,27],"code",{"__ignoreMap":23},[28,29,32,36],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sCudf","axon",[28,37,39],{"class":38},"sKc5r"," build\n",[14,41,42,43,46],{},"Produces a ",[25,44,45],{},".agent\u002F"," output folder containing:",[48,49,50,63],"table",{},[51,52,53],"thead",{},[54,55,56,60],"tr",{},[57,58,59],"th",{},"Output",[57,61,62],{},"What it is",[64,65,66,77],"tbody",{},[54,67,68,74],{},[69,70,71],"td",{},[25,72,73],{},".agent\u002Fimage.tar",[69,75,76],{},"Docker image — deploy to any container host",[54,78,79,84],{},[69,80,81],{},[25,82,83],{},".agent\u002Fbundle.tar.gz",[69,85,86],{},"Source tarball — for hosts that build from source",[14,88,89,90,93],{},"The build bundles the agent source, installed modules, and resolved dependencies. The\n",[25,91,92],{},".env"," file is excluded — secrets are injected at runtime by the host.",[14,95,96,98,99,104],{},[25,97,5],{}," is the foundation for self-hosting. The output runs identically to an Axon\nCloud deployment. See ",[100,101,103],"a",{"href":102},"\u002Fdocs\u002Fv2\u002Fdeploy","Deploy"," for the self-host story.",[14,106,107,108,114],{},"For one-command cloud deployment, use ",[100,109,111],{"href":110},"\u002Fdocs\u002Fv2\u002Fcli\u002Fdeploy",[25,112,113],{},"axon deploy"," instead.",[116,117,118],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":23,"searchDepth":120,"depth":120,"links":121},2,[],"md",{},true,"\u002Fdocs\u002Fv2\u002Fcli\u002Fbuild",{"title":5,"description":16},"docs\u002Fv2\u002Fcli\u002Fbuild","NnckHwdp33mSHXNWM9JXOzBwuOuAFxm7c_kERFcCAnQ",1785671806769]