[{"data":1,"prerenderedAt":857},["ShallowReactive",2],{"navigation":3,"-deploy-providers-koyeb":445,"-deploy-providers-koyeb-surround":852},[4,123,260,266,430,442],{"title":5,"path":6,"stem":7,"children":8,"icon":122},"","\u002Fdocs","1.docs\u002F1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82,87,92,97,102,107,112,117],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","\u002Fdocs\u002Fquick-start","1.docs\u002F2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","\u002Fdocs\u002Frenderer","1.docs\u002F4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","\u002Fdocs\u002Frouting","1.docs\u002F5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","\u002Fdocs\u002Fassets","1.docs\u002F50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","\u002Fdocs\u002Fconfiguration","1.docs\u002F50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","\u002Fdocs\u002Fdatabase","1.docs\u002F50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","\u002Fdocs\u002Flifecycle","1.docs\u002F50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"OpenAPI","\u002Fdocs\u002Fopenapi","1.docs\u002F50.openapi","ri:contract-line",{"title":53,"path":54,"stem":55,"icon":56},"Plugins","\u002Fdocs\u002Fplugins","1.docs\u002F50.plugins","ri:plug-line",{"title":58,"path":59,"stem":60,"icon":61},"Prerendering","\u002Fdocs\u002Fprerendering","1.docs\u002F50.prerendering","ri:file-copy-2-line",{"title":63,"path":64,"stem":65,"icon":66},"Tasks","\u002Fdocs\u002Ftasks","1.docs\u002F50.tasks","codicon:run-all",{"title":68,"path":69,"stem":70,"icon":71},"WebSocket","\u002Fdocs\u002Fwebsocket","1.docs\u002F50.websocket","ri:broadcast-fill",{"title":73,"path":74,"stem":75,"icon":76},"Modules","\u002Fdocs\u002Fmodules","1.docs\u002F55.modules","i-lucide-puzzle",{"title":78,"path":79,"stem":80,"icon":81},"Server Entry","\u002Fdocs\u002Fserver-entry","1.docs\u002F6.server-entry","ri:server-line",{"title":83,"path":84,"stem":85,"icon":86},"CLI","\u002Fdocs\u002Fcli","1.docs\u002F60.cli","i-lucide-terminal",{"title":88,"path":89,"stem":90,"icon":91},"Vite","\u002Fdocs\u002Fvite","1.docs\u002F61.vite","i-logos-vitejs",{"title":93,"path":94,"stem":95,"icon":96},"Utils","\u002Fdocs\u002Futils","1.docs\u002F62.utils","i-lucide-braces",{"title":98,"path":99,"stem":100,"icon":101},"TypeScript","\u002Fdocs\u002Ftypescript","1.docs\u002F63.typescript","i-logos-typescript-icon",{"title":103,"path":104,"stem":105,"icon":106},"Cache","\u002Fdocs\u002Fcache","1.docs\u002F7.cache","ri:speed-line",{"title":108,"path":109,"stem":110,"icon":111},"KV Storage","\u002Fdocs\u002Fstorage","1.docs\u002F8.storage","carbon:datastore",{"title":113,"path":114,"stem":115,"icon":116},"Migration Guide","\u002Fdocs\u002Fmigration","1.docs\u002F99.migration","ri:arrow-right-up-line",{"title":118,"path":119,"stem":120,"icon":121},"Nightly Channel","\u002Fdocs\u002Fnightly","1.docs\u002F99.nightly","ri:moon-fill","i-lucide-book-open",{"title":124,"path":125,"stem":126,"children":127,"icon":129},"Deploy","\u002Fdeploy","2.deploy\u002F0.index",[128,130,155],{"title":124,"path":125,"stem":126,"icon":129},"ri:upload-cloud-2-line",{"title":131,"path":132,"stem":133,"children":134,"page":154},"Runtimes","\u002Fdeploy\u002Fruntimes","2.deploy\u002F10.runtimes",[135,140,145,150],{"title":136,"path":137,"stem":138,"icon":139},"Node.js","\u002Fdeploy\u002Fruntimes\u002Fnode","2.deploy\u002F10.runtimes\u002F1.node","akar-icons:node-fill",{"title":141,"path":142,"stem":143,"icon":144},"Bun","\u002Fdeploy\u002Fruntimes\u002Fbun","2.deploy\u002F10.runtimes\u002Fbun","simple-icons:bun",{"title":146,"path":147,"stem":148,"icon":149},"Deno","\u002Fdeploy\u002Fruntimes\u002Fdeno","2.deploy\u002F10.runtimes\u002Fdeno","simple-icons:deno",{"title":151,"path":152,"stem":153},"Standard","\u002Fdeploy\u002Fruntimes\u002Fstandard","2.deploy\u002F10.runtimes\u002Fstandard",false,{"title":156,"path":157,"stem":158,"children":159,"page":154},"Providers","\u002Fdeploy\u002Fproviders","2.deploy\u002F20.providers",[160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256],{"title":161,"path":162,"stem":163},"Alwaysdata","\u002Fdeploy\u002Fproviders\u002Falwaysdata","2.deploy\u002F20.providers\u002Falwaysdata",{"title":165,"path":166,"stem":167},"AWS Lambda","\u002Fdeploy\u002Fproviders\u002Faws","2.deploy\u002F20.providers\u002Faws",{"title":169,"path":170,"stem":171},"AWS Amplify","\u002Fdeploy\u002Fproviders\u002Faws-amplify","2.deploy\u002F20.providers\u002Faws-amplify",{"title":173,"path":174,"stem":175},"Azure","\u002Fdeploy\u002Fproviders\u002Fazure","2.deploy\u002F20.providers\u002Fazure",{"title":177,"path":178,"stem":179},"Cleavr","\u002Fdeploy\u002Fproviders\u002Fcleavr","2.deploy\u002F20.providers\u002Fcleavr",{"title":181,"path":182,"stem":183},"Cloudflare","\u002Fdeploy\u002Fproviders\u002Fcloudflare","2.deploy\u002F20.providers\u002Fcloudflare",{"title":185,"path":186,"stem":187},"Deno Deploy","\u002Fdeploy\u002Fproviders\u002Fdeno-deploy","2.deploy\u002F20.providers\u002Fdeno-deploy",{"title":189,"path":190,"stem":191},"DigitalOcean","\u002Fdeploy\u002Fproviders\u002Fdigitalocean","2.deploy\u002F20.providers\u002Fdigitalocean",{"title":193,"path":194,"stem":195},"EdgeOne Pages","\u002Fdeploy\u002Fproviders\u002Fedgeone","2.deploy\u002F20.providers\u002Fedgeone",{"title":197,"path":198,"stem":199},"Firebase","\u002Fdeploy\u002Fproviders\u002Ffirebase","2.deploy\u002F20.providers\u002Ffirebase",{"title":201,"path":202,"stem":203},"Flightcontrol","\u002Fdeploy\u002Fproviders\u002Fflightcontrol","2.deploy\u002F20.providers\u002Fflightcontrol",{"title":205,"path":206,"stem":207},"Genezio","\u002Fdeploy\u002Fproviders\u002Fgenezio","2.deploy\u002F20.providers\u002Fgenezio",{"title":209,"path":210,"stem":211},"GitHub Pages","\u002Fdeploy\u002Fproviders\u002Fgithub-pages","2.deploy\u002F20.providers\u002Fgithub-pages",{"title":213,"path":214,"stem":215},"GitLab Pages","\u002Fdeploy\u002Fproviders\u002Fgitlab-pages","2.deploy\u002F20.providers\u002Fgitlab-pages",{"title":217,"path":218,"stem":219},"Heroku","\u002Fdeploy\u002Fproviders\u002Fheroku","2.deploy\u002F20.providers\u002Fheroku",{"title":221,"path":222,"stem":223},"IIS","\u002Fdeploy\u002Fproviders\u002Fiis","2.deploy\u002F20.providers\u002Fiis",{"title":225,"path":226,"stem":227},"Koyeb","\u002Fdeploy\u002Fproviders\u002Fkoyeb","2.deploy\u002F20.providers\u002Fkoyeb",{"title":229,"path":230,"stem":231},"Netlify","\u002Fdeploy\u002Fproviders\u002Fnetlify","2.deploy\u002F20.providers\u002Fnetlify",{"title":233,"path":234,"stem":235},"Platform.sh","\u002Fdeploy\u002Fproviders\u002Fplatform-sh","2.deploy\u002F20.providers\u002Fplatform-sh",{"title":237,"path":238,"stem":239},"Render.com","\u002Fdeploy\u002Fproviders\u002Frender","2.deploy\u002F20.providers\u002Frender",{"title":241,"path":242,"stem":243},"Stormkit","\u002Fdeploy\u002Fproviders\u002Fstormkit","2.deploy\u002F20.providers\u002Fstormkit",{"title":245,"path":246,"stem":247},"Vercel","\u002Fdeploy\u002Fproviders\u002Fvercel","2.deploy\u002F20.providers\u002Fvercel",{"title":249,"path":250,"stem":251},"Zeabur","\u002Fdeploy\u002Fproviders\u002Fzeabur","2.deploy\u002F20.providers\u002Fzeabur",{"title":253,"path":254,"stem":255},"Zephyr Cloud","\u002Fdeploy\u002Fproviders\u002Fzephyr","2.deploy\u002F20.providers\u002Fzephyr",{"title":257,"path":258,"stem":259},"Zerops","\u002Fdeploy\u002Fproviders\u002Fzerops","2.deploy\u002F20.providers\u002Fzerops",{"title":261,"path":262,"stem":263,"children":264,"icon":36},"Config","\u002Fconfig","3.config\u002F0.index",[265],{"title":261,"path":262,"stem":263,"icon":36},{"title":267,"path":268,"stem":269,"children":270,"icon":272},"Examples","\u002Fexamples","4.examples\u002F0.index",[271,273,278,283,288,293,297,302,307,312,317,322,327,331,336,340,344,349,354,359,364,369,374,379,383,388,393,398,402,407,412,416,421,426],{"title":267,"path":268,"stem":269,"icon":272},"i-lucide-folder-code",{"title":274,"path":275,"stem":276,"icon":277},"API Routes","\u002Fexamples\u002Fapi-routes","4.examples\u002Fapi-routes","i-lucide-route",{"title":279,"path":280,"stem":281,"icon":282},"Auto Imports","\u002Fexamples\u002Fauto-imports","4.examples\u002Fauto-imports","i-lucide-import",{"title":284,"path":285,"stem":286,"icon":287},"Cached Handler","\u002Fexamples\u002Fcached-handler","4.examples\u002Fcached-handler","i-lucide-clock",{"title":289,"path":290,"stem":291,"icon":292},"Custom Error Handler","\u002Fexamples\u002Fcustom-error-handler","4.examples\u002Fcustom-error-handler","i-lucide-alert-circle",{"title":38,"path":294,"stem":295,"icon":296},"\u002Fexamples\u002Fdatabase","4.examples\u002Fdatabase","i-lucide-database",{"title":298,"path":299,"stem":300,"icon":301},"Elysia","\u002Fexamples\u002Felysia","4.examples\u002Felysia","i-skill-icons-elysia-dark",{"title":303,"path":304,"stem":305,"icon":306},"Express","\u002Fexamples\u002Fexpress","4.examples\u002Fexpress","i-simple-icons-express",{"title":308,"path":309,"stem":310,"icon":311},"Fastify","\u002Fexamples\u002Ffastify","4.examples\u002Ffastify","i-simple-icons-fastify",{"title":313,"path":314,"stem":315,"icon":316},"Hello World","\u002Fexamples\u002Fhello-world","4.examples\u002Fhello-world","i-lucide-sparkles",{"title":318,"path":319,"stem":320,"icon":321},"Hono","\u002Fexamples\u002Fhono","4.examples\u002Fhono","i-logos-hono",{"title":323,"path":324,"stem":325,"icon":326},"Import Alias","\u002Fexamples\u002Fimport-alias","4.examples\u002Fimport-alias","i-lucide-at-sign",{"title":328,"path":329,"stem":330,"icon":46},"Middleware","\u002Fexamples\u002Fmiddleware","4.examples\u002Fmiddleware",{"title":332,"path":333,"stem":334,"icon":335},"Mono JSX","\u002Fexamples\u002Fmono-jsx","4.examples\u002Fmono-jsx","i-lucide-brackets",{"title":337,"path":338,"stem":339,"icon":335},"Nano JSX","\u002Fexamples\u002Fnano-jsx","4.examples\u002Fnano-jsx",{"title":53,"path":341,"stem":342,"icon":343},"\u002Fexamples\u002Fplugins","4.examples\u002Fplugins","i-lucide-plug",{"title":345,"path":346,"stem":347,"icon":348},"Custom Renderer","\u002Fexamples\u002Frenderer","4.examples\u002Frenderer","i-lucide-code",{"title":350,"path":351,"stem":352,"icon":353},"Runtime Config","\u002Fexamples\u002Fruntime-config","4.examples\u002Fruntime-config","i-lucide-settings",{"title":355,"path":356,"stem":357,"icon":358},"Server Fetch","\u002Fexamples\u002Fserver-fetch","4.examples\u002Fserver-fetch","i-lucide-arrow-right-left",{"title":360,"path":361,"stem":362,"icon":363},"Shiki","\u002Fexamples\u002Fshiki","4.examples\u002Fshiki","i-lucide-highlighter",{"title":365,"path":366,"stem":367,"icon":368},"Takumi","\u002Fexamples\u002Ftakumi","4.examples\u002Ftakumi","i-lucide-image",{"title":370,"path":371,"stem":372,"icon":373},"Tracing","\u002Fexamples\u002Ftracing","4.examples\u002Ftracing","i-lucide-activity",{"title":375,"path":376,"stem":377,"icon":378},"Virtual Routes","\u002Fexamples\u002Fvirtual-routes","4.examples\u002Fvirtual-routes","i-lucide-box",{"title":380,"path":381,"stem":382,"icon":91},"Vite Nitro Plugin","\u002Fexamples\u002Fvite-nitro-plugin","4.examples\u002Fvite-nitro-plugin",{"title":384,"path":385,"stem":386,"icon":387},"Vite RSC","\u002Fexamples\u002Fvite-rsc","4.examples\u002Fvite-rsc","i-logos-react",{"title":389,"path":390,"stem":391,"icon":392},"Vite SSR HTML","\u002Fexamples\u002Fvite-ssr-html","4.examples\u002Fvite-ssr-html","i-logos-html-5",{"title":394,"path":395,"stem":396,"icon":397},"SSR with Preact","\u002Fexamples\u002Fvite-ssr-preact","4.examples\u002Fvite-ssr-preact","i-logos-preact",{"title":399,"path":400,"stem":401,"icon":387},"SSR with React","\u002Fexamples\u002Fvite-ssr-react","4.examples\u002Fvite-ssr-react",{"title":403,"path":404,"stem":405,"icon":406},"SSR with SolidJS","\u002Fexamples\u002Fvite-ssr-solid","4.examples\u002Fvite-ssr-solid","i-logos-solidjs-icon",{"title":408,"path":409,"stem":410,"icon":411},"SSR with TanStack Router","\u002Fexamples\u002Fvite-ssr-tsr-react","4.examples\u002Fvite-ssr-tsr-react","i-simple-icons-tanstack",{"title":413,"path":414,"stem":415,"icon":411},"SSR with TanStack Start","\u002Fexamples\u002Fvite-ssr-tss-react","4.examples\u002Fvite-ssr-tss-react",{"title":417,"path":418,"stem":419,"icon":420},"SSR with Vue Router","\u002Fexamples\u002Fvite-ssr-vue-router","4.examples\u002Fvite-ssr-vue-router","i-logos-vue",{"title":422,"path":423,"stem":424,"icon":425},"Vite + tRPC","\u002Fexamples\u002Fvite-trpc","4.examples\u002Fvite-trpc","i-simple-icons-trpc",{"title":68,"path":427,"stem":428,"icon":429},"\u002Fexamples\u002Fwebsocket","4.examples\u002Fwebsocket","i-lucide-radio",{"title":431,"path":432,"stem":433,"children":434},"Blog","\u002Fblog","9.blog",[435,438],{"title":431,"path":432,"stem":436,"icon":437},"9.blog\u002Findex","i-lucide-file-text",{"title":439,"path":440,"stem":441,"icon":437},"Nitro v3 Beta is here!","\u002Fblog\u002Fv3-beta","9.blog\u002F1.v3-beta",{"title":5,"path":443,"stem":444},"\u002F","index",{"id":446,"title":225,"body":447,"description":846,"extension":847,"meta":848,"navigation":849,"path":226,"seo":850,"stem":227,"__hash__":851},"content\u002F2.deploy\u002F20.providers\u002Fkoyeb.md",{"type":448,"value":449,"toc":841},"minimark",[450,462,466,471,577,581,771,775,805,808,822,837],[451,452,453,457,458],"p",{},[454,455,456],"strong",{},"Preset:"," ",[459,460,461],"code",{},"koyeb",[463,464],"read-more",{"to":465},"https:\u002F\u002Fwww.koyeb.com",[467,468,470],"h2",{"id":469},"using-the-control-panel","Using the control panel",[472,473,475,491,498,509,512,552,568,571],"steps",{"level":474},"4",[476,477,478,479,486,487,490],"h4",{},"In the ",[480,481,485],"a",{"href":482,"rel":483},"https:\u002F\u002Fapp.koyeb.com\u002F",[484],"nofollow","Koyeb control panel",", click ",[454,488,489],{},"Create App",".",[476,492,493,494,497],{},"Choose ",[454,495,496],{},"GitHub"," as your deployment method.",[476,499,500,501,504,505,508],{},"Choose the GitHub ",[454,502,503],{},"repository"," and ",[454,506,507],{},"branch"," containing your application code.",[476,510,511],{},"Name your Service.",[476,513,514,515,518,519,522,523,526,527,530,531],{},"If you did not add a ",[459,516,517],{},"start"," command to your ",[459,520,521],{},"package.json"," file, under the ",[454,524,525],{},"Build and deployment settings",", toggle the override switch associated with the run command field. In the ",[454,528,529],{},"Run command"," field, enter:",[532,533,537],"pre",{"className":534,"code":535,"language":536,"meta":5,"style":5},"language-bash shiki shiki-themes github-light github-dark github-dark","node .output\u002Fserver\u002Findex.mjs\n","bash",[459,538,539],{"__ignoreMap":5},[540,541,544,548],"span",{"class":542,"line":543},"line",1,[540,545,547],{"class":546},"shcOC","node",[540,549,551],{"class":550},"sfrk1"," .output\u002Fserver\u002Findex.mjs\n",[476,553,478,554,557,558,561,562,565,566,490],{},[454,555,556],{},"Advanced"," section, click ",[454,559,560],{},"Add Variable"," and add a ",[459,563,564],{},"NITRO_PRESET"," variable set to ",[459,567,461],{},[476,569,570],{},"Name the App.",[476,572,573,574,576],{},"Click the ",[454,575,124],{}," button.",[467,578,580],{"id":579},"using-the-koyeb-cli","Using the Koyeb CLI",[472,582,583,597,606,625],{"level":474},[476,584,585,586,591,592,490],{},"Follow the instructions for your operating system to ",[480,587,590],{"href":588,"rel":589},"https:\u002F\u002Fwww.koyeb.com\u002Fdocs\u002Fcli\u002Finstallation",[484],"install the Koyeb CLI client",", or download it directly from the ",[480,593,596],{"href":594,"rel":595},"https:\u002F\u002Fgithub.com\u002Fkoyeb\u002Fkoyeb-cli\u002Freleases",[484],"releases page on GitHub",[476,598,599,600,605],{},"Create a Koyeb API access token by visiting the ",[480,601,604],{"href":602,"rel":603},"https:\u002F\u002Fapp.koyeb.com\u002Fsettings\u002Fapi",[484],"API settings for your organization"," in the Koyeb control panel.",[476,607,608,609,621,624],{},"Log into your account with the Koyeb CLI by typing:",[532,610,612],{"className":534,"code":611,"language":536,"meta":5,"style":5},"koyeb login\n",[459,613,614],{"__ignoreMap":5},[540,615,616,618],{"class":542,"line":543},[540,617,461],{"class":546},[540,619,620],{"class":550}," login\n",[622,623],"br",{},"Paste your API credentials when prompted.",[476,626,627,628,631,632,635,636,639,640],{},"Deploy your Nitro application from a GitHub repository with the following command. Be sure to substitute your own values for ",[459,629,630],{},"\u003CAPPLICATION_NAME>",", ",[459,633,634],{},"\u003CYOUR_GITHUB_USERNAME>",", and ",[459,637,638],{},"\u003CYOUR_REPOSITORY_NAME>",":",[532,641,643],{"className":534,"code":642,"language":536,"meta":5,"style":5},"koyeb app init \u003CAPPLICATION_NAME> \\\n   --git github.com\u002F\u003CYOUR_GITHUB_USERNAME>\u002F\u003CYOUR_REPOSITORY_NAME> \\\n   --git-branch main \\\n   --git-run-command \"node .output\u002Fserver\u002Findex.mjs\" \\\n   --ports 3000:http \\\n   --routes \u002F:3000 \\\n   --env PORT=3000 \\\n   --env NITRO_PRESET=koyeb\n",[459,644,645,673,705,716,727,738,749,763],{"__ignoreMap":5},[540,646,647,649,652,655,659,662,666,669],{"class":542,"line":543},[540,648,461],{"class":546},[540,650,651],{"class":550}," app",[540,653,654],{"class":550}," init",[540,656,658],{"class":657},"so5gQ"," \u003C",[540,660,661],{"class":550},"APPLICATION_NAM",[540,663,665],{"class":664},"slsVL","E",[540,667,668],{"class":657},">",[540,670,672],{"class":671},"suiK_"," \\\n",[540,674,676,679,682,685,688,690,692,694,696,699,701,703],{"class":542,"line":675},2,[540,677,678],{"class":671},"   --git",[540,680,681],{"class":550}," github.com\u002F",[540,683,684],{"class":657},"\u003C",[540,686,687],{"class":550},"YOUR_GITHUB_USERNAM",[540,689,665],{"class":664},[540,691,668],{"class":657},[540,693,443],{"class":550},[540,695,684],{"class":657},[540,697,698],{"class":550},"YOUR_REPOSITORY_NAM",[540,700,665],{"class":664},[540,702,668],{"class":657},[540,704,672],{"class":671},[540,706,708,711,714],{"class":542,"line":707},3,[540,709,710],{"class":671},"   --git-branch",[540,712,713],{"class":550}," main",[540,715,672],{"class":671},[540,717,719,722,725],{"class":542,"line":718},4,[540,720,721],{"class":671},"   --git-run-command",[540,723,724],{"class":550}," \"node .output\u002Fserver\u002Findex.mjs\"",[540,726,672],{"class":671},[540,728,730,733,736],{"class":542,"line":729},5,[540,731,732],{"class":671},"   --ports",[540,734,735],{"class":550}," 3000:http",[540,737,672],{"class":671},[540,739,741,744,747],{"class":542,"line":740},6,[540,742,743],{"class":671},"   --routes",[540,745,746],{"class":550}," \u002F:3000",[540,748,672],{"class":671},[540,750,752,755,758,761],{"class":542,"line":751},7,[540,753,754],{"class":671},"   --env",[540,756,757],{"class":550}," PORT=",[540,759,760],{"class":671},"3000",[540,762,672],{"class":671},[540,764,766,768],{"class":542,"line":765},8,[540,767,754],{"class":671},[540,769,770],{"class":550}," NITRO_PRESET=koyeb\n",[467,772,774],{"id":773},"using-a-docker-container","Using a docker container",[472,776,777,792],{"level":474},[476,778,779,780,783,784],{},"Create a ",[459,781,782],{},".dockerignore"," file in the root of your project and add the following lines:",[532,785,790],{"className":786,"code":788,"language":789},[787],"language-text","Dockerfile\n.dockerignore\nnode_modules\nnpm-debug.log\n.nitro\n.output\n.git\ndist\nREADME.md\n","text",[459,791,788],{"__ignoreMap":5},[476,793,794,795,798,799],{},"Add a ",[459,796,797],{},"Dockerfile"," to the root of your project:",[532,800,803],{"className":801,"code":802,"language":789},[787],"FROM node:20-alpine AS base\n\nFROM base AS deps\nRUN apk add --no-cache libc6-compat\nWORKDIR \u002Fapp\nCOPY package.json package-lock.json .\u002F\nRUN npm ci\n\nFROM base AS builder\nWORKDIR \u002Fapp\nCOPY --from=deps \u002Fapp\u002Fnode_modules .\u002Fnode_modules\nCOPY . .\nRUN npm run build && npm cache clean --force\n\nFROM base AS runner\nWORKDIR \u002Fapp\nRUN addgroup --system --gid 1001 nodejs\nRUN adduser --system --uid 1001 nitro\nCOPY --from=builder \u002Fapp .\nUSER nitro\nEXPOSE 3000\nENV PORT 3000\nCMD [\"npm\", \"run\", \"start\"]\n",[459,804,802],{"__ignoreMap":5},[451,806,807],{},"The Dockerfile above provides the minimum requirements to run the Nitro application. You can easily extend it depending on your needs.",[451,809,810,811,816,817,490],{},"Next, push your Docker image to a registry, for example ",[480,812,815],{"href":813,"rel":814},"https:\u002F\u002Fhub.docker.com\u002F",[484],"Docker Hub"," or ",[480,818,821],{"href":819,"rel":820},"https:\u002F\u002Fdocs.github.com\u002Fen\u002Fpackages\u002Fguides\u002Fabout-github-container-registry",[484],"GitHub Container Registry",[451,823,824,825,830,831,836],{},"In the Koyeb control panel, use the image and tag fields to specify the image you want to deploy. You can also use the ",[480,826,829],{"href":827,"rel":828},"https:\u002F\u002Fwww.koyeb.com\u002Fdocs\u002Fbuild-and-deploy\u002Fcli\u002Finstallation",[484],"Koyeb CLI",". Refer to the Koyeb ",[480,832,835],{"href":833,"rel":834},"https:\u002F\u002Fwww.koyeb.com\u002Fdocs\u002Fbuild-and-deploy\u002Fprebuilt-docker-images",[484],"Docker documentation"," for more information.",[838,839,840],"style",{},"html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}",{"title":5,"searchDepth":675,"depth":675,"links":842},[843,844,845],{"id":469,"depth":675,"text":470},{"id":579,"depth":675,"text":580},{"id":773,"depth":675,"text":774},"Deploy Nitro apps to Koyeb.","md",{},{},{"title":225,"description":846},"BpMay0p2xGKsNu8vNKbI4Xx3V2QIIJqnFpx2hnNvIM4",[853,855],{"title":221,"path":222,"stem":223,"description":854,"children":-1},"Deploy Nitro apps to IIS.",{"title":229,"path":230,"stem":231,"description":856,"children":-1},"Deploy Nitro apps to Netlify functions or edge.",1784019070756]