Skip to main content
Betadocs
DocsStatusSupportPricing
  • Introduction
    • Introduction to Webgune
    • How Webgune works
    • Creating an account
    • Creating your first project
    • Exploring the dashboard
  • Deployment

    • Deploying from GitHub
    • Deploying a Docker image
    • How builds work
    • Deployments and rollback
    • Environment variables
    • Custom start command
    • Health check
    • Database migrations

    Web apps

    • Web applications
      • Supported frameworks
      • Next.js
      • React / Vite
      • Node.js
      • Python
      • PHP
      • Go

    Bots & workers

    • Discord bots
    • Workers

    Docker

    • Docker
      • Writing a Dockerfile
      • Public Docker images

    Databases

    • Databases
      • PostgreSQL
      • MySQL
      • MariaDB
      • MongoDB
      • Redis

    Observability

    • Logs and monitoring
    • Web terminal

    Scaling

    • Availability and scaling
    • Persistent volumes
    • Backups and restore
    • Sleep mode

    Platform

    • One microVM per service
    • Network and isolation
    • Platform security
    • Deploying a template
      • Template catalog
    • Free subdomains
    • Custom domains
    • Buying a domain
    • Hosting DNS for a domain bought elsewhere
    • Managing your DNS records
    • SSL certificates
    • Redirects
    • Shared projects
      • Roles and permissions
    • Real-time collaboration
    • Continuous deployment
      • The kx712.yml file
    • VS Code extension
    • Plans and pricing
    • Payments and invoices
    • Account or per-project subscription
    • API reference
    • API keys
    • Webgune CLI
    • MCP server
    • JavaScript / TypeScript SDK
    • Support tickets
    • Status page
    • AI assistant
    • FAQ
    • Limits and resources
    • Account security
    • Best practices
    • Troubleshooting

Services / Web applications

Supported frameworks

Open as Markdown

This page is the reference for auto build: what it recognizes, in what order, and the start command it infers. It recognizes 188 entries (30 languages, 76 frameworks, 44 libraries, 27 site generators, 11 CMSs).

The framework chosen and the start command are shown in the build log, at step 4. Detection. It is the first place to look when a service does not start as expected.

Node.js, static sites and Dockerfile mode are the most used paths. For another language, read the first build's log: it shows the base image, the packages added and the command chosen.

Detection order

A repository often contains several languages: a Laravel project has a vite.config.js, a Django project has a package.json. The build tests the rules in this order and stops at the first one that matches.

  1. Dockerfile build chosen for the service: the repository's Dockerfile is built as is, no detection (Docker).
  2. Dev environment: the repository's dev script is run, with no production build (Node.js only).
  3. Static site nature: the files are published behind Nginx (see below).
  4. Frameworks specific to a language other than Node.js: Laravel, Rails, Django, FastAPI, Spring Boot, Phoenix.
  5. Node.js frameworks: Next.js, Nuxt, Remix, Astro, Vite, NestJS, Strapi.
  6. Languages, libraries and site generators: Go, Rust, Python, Hugo, MkDocs.
  7. Generic Node.js servers: Express, Fastify, Koa, then any package.json that has a start script.
  8. A Dockerfile at the root, if nothing else is recognized. The log shows a warning.
  9. Otherwise the build fails with the message "Framework not detected".

Step 4 comes before step 5 so that a Laravel project is not mistaken for a Vite site. Step 7 comes last because many Django or Rails repositories have a package.json that mentions express.

In the tables that follow, "dependency" means a package declared in dependencies or devDependencies of package.json, or in the language's equivalent file (requirements.txt, composer.json, Gemfile, go.mod, Cargo.toml, pom.xml).

Node.js

Node.js version

The image is node:<version>-alpine. The major version is chosen as follows:

  1. that of .nvmrc, .node-version or the volta.node field of package.json, if it respects engines.node;
  2. otherwise, from the engines.node range: 22 if the range accepts it, otherwise the most recent LTS version it accepts among 24, 22, 20, 18, 16 and 14;
  3. otherwise 22.

Examples: "engines": { "node": ">=18" } gives Node 22. ">=18 <21" gives Node 20. An .nvmrc containing lts/iron gives Node 20.

Package manager

The repository's lock file decides the manager. The install is frozen: it installs exactly the versions in the file, and refuses to modify it.

Lock fileInstall command
bun.lock, bun.lockbbun install --frozen-lockfile
pnpm-lock.yamlpnpm install --frozen-lockfile
yarn.lock (Yarn 1)yarn install --frozen-lockfile
yarn.lock (Yarn 2 and later)corepack enable && yarn install --immutable
package-lock.json, npm-shrinkwrap.jsonnpm ci --include=dev
  • With no lock file while package.json declares dependencies, the build fails at the Detection step.
  • With a file out of date with package.json, the frozen install fails. Regenerate it locally (npm install, bun install...) and commit it.
  • If several lock files are committed, the packageManager field of package.json names the one to try first. Otherwise the table's order applies. If the first is out of date, the build moves on to the next and the log says which one was used.
  • "packageManager": "pnpm@9.1.0" also fixes the version of the installed manager.

The build then runs npm run build if the build script exists. Scripts that call bun, pnpm or yarn find these tools during the build. In the runtime image, bun or pnpm is only present if the start command calls it (for example bun run server.ts).

Start command of a Node.js server

For servers with no strong convention (Express, Koa, Fastify...), the command is resolved in this order:

  1. the start script in package.json, run by npm start;
  2. the main field, if it points to a file present in the repository: node <main>;
  3. the first usual entry point present in the repository (list in the servers table);
  4. otherwise the first one in that list, even if absent from the repository, assuming the build produces it.

Defining a start script removes all ambiguity.

Frameworks with server rendering

FrameworkDetected byStart
Next.jsnext.config.js, .mjs or .ts, or next dependencystandalone output: node server.js (Next.js)
Blitz.jsblitz dependencynpx blitz start
RedwoodJSredwood.toml or @redwoodjs/* dependencybuild npx rw build, then npx rw serve --port $PORT
Nuxtnuxt.config.js or .ts, or nuxt dependencynode .output/server/index.mjs
Nitronitropack dependencynode .output/server/index.mjs
SolidStart@solidjs/start dependencynode .output/server/index.mjs
TanStack Start@tanstack/react-start dependencynode .output/server/index.mjs
SvelteKitsvelte.config.js or .ts, or @sveltejs/kit dependencynode build/index.js
Remix (classic compiler)remix.config.js or .tsnpx remix-serve build
Remix (Vite)@remix-run/* dependency without remix.confignpx remix-serve build/server/index.js
React Router@react-router/dev dependencynpx react-router-serve ./build/server/index.js
Analog@analogjs/* dependencynode dist/analog/server/index.mjs
Astro with adapterastro.config.* contains adapternode ./dist/server/entry.mjs
Qwik City with Expresssrc/entry.express.tsx or .tsnode server/entry.express.js
Vikevike dependencystart script, otherwise server/index.js, server.js, index.js
Sappersapper dependencynode __sapper__/build

Details:

  • SvelteKit must use @sveltejs/adapter-node, which produces build/index.js. The Vercel or Netlify adapters do not produce a server.
  • Astro without an adapter is served as a static site from dist. For server rendering, install @astrojs/node.
  • Qwik City without src/entry.express.tsx is served as a static site from dist. npx qwik add express adds this file.
  • Nuxt, Nitro, SolidStart and TanStack Start produce the same output, in .output.

Servers and APIs

FrameworkDetected byStart
NestJS@nestjs/core dependencynode dist/main.js
AdonisJS 6@adonisjs/core dependency and adonisrc.ts filenode build/bin/server.js
AdonisJS 5@adonisjs/core dependencynode build/server.js
Egg.jsegg dependencynpx egg-scripts start --port $PORT
Moleculermoleculer dependencystart script, otherwise npx moleculer-runner services
Sailssails dependencystart script, main, otherwise app.js
LoopBack 4@loopback/core dependencystart script, otherwise node .
FeathersJS@feathersjs/* dependencystart script, main, otherwise src/index.js, lib/index.js, dist/index.js
FoalTS@foal/core dependencystart script, otherwise node build/index.js
Marble.js@marblejs/core dependencystart script, otherwise node dist/main.js
Apollo Server@apollo/server dependencystart script, main, otherwise dist/index.js, index.js, src/index.js
GraphQL Yogagraphql-yoga dependencystart script, main, otherwise dist/index.js, index.js, src/index.js
Fastifyfastify dependencystart script, main, otherwise server.js, app.js, index.js, then the same under src/
Honohono dependencystart script, main, otherwise dist/index.js, index.js, src/index.js
Hapi@hapi/hapi or hapi dependencystart script, main, otherwise server.js, index.js, then the same under src/
Restifyrestify dependencystart script, main, otherwise server.js, index.js, then the same under src/
Total.jstotal.js, total4 or total5 dependencystart script, main, otherwise index.js, debug.js
Polkapolka dependencystart script, main, otherwise index.js, server.js, src/index.js
Koakoa dependencystart script, main, otherwise app.js, index.js, server.js, then the same under src/
Senecaseneca dependencystart script, main, otherwise index.js, server.js, app.js, src/index.js
Expressexpress dependencystart script, main, otherwise index.js, server.js, app.js, then the same under src/
Socket.IOsocket.io dependencystart script, main, otherwise index.js, server.js, src/index.js
Node.jsa start script in package.jsonnpm start

NestJS, AdonisJS, FoalTS and Marble.js start from their compiled output. The repository's build script must therefore produce the indicated file. Express is tested after the others because it is a dependency of many of them.

CMS

CMSDetected byStart
Strapi@strapi/strapi dependencystart script, otherwise npx strapi start
Payload CMSpayload dependencynpm run serve if the script exists, otherwise npm start
KeystoneJS@keystone-6/core dependencystart script, otherwise npx keystone start
Medusa@medusajs/medusa dependencystart script, otherwise npx medusa start
Directusdirectus dependencystart script, otherwise npx directus start

Generated sites

These tools produce a folder of files. In the Application nature, the image serves it with the serve package, installed in the image at build time.

ToolDetected byFolder servedUnknown routes to index.html
Vite (React, Vue, Svelte)vite.config.js, .ts or .mjsdistNo
Parcelparcel dependencydistNo
Astro without adapterastro dependencydistNo
Qwik City without Express@builder.io/qwik-city dependencydistNo
Gatsbygatsby dependency or gatsby-config.*publicNo
Docusaurus@docusaurus/core dependencybuildNo
VitePressvitepress dependencydocs/.vitepress/distNo
VuePressvuepress or @vuepress/* dependencydocs/.vuepress/distNo
Eleventy@11ty/eleventy dependency_siteNo
Hexohexo dependencypublicNo
Docsifydocsify-cli dependencydocs, otherwise the rootNo
Storybookstorybook dependencystorybook-staticNo
Gulpa gulpfile.* filefirst dest('…') in the gulpfile, otherwise dist, www, buildNo
Angular@angular/core dependencythe dist folder that contains index.htmlYes
Create React Appreact-scripts dependencybuildYes
Vue CLI@vue/cli-service dependencydistYes
Preact CLIpreact-cli dependencybuildYes
Emberember-cli dependencydistYes

The last column matters for single-page applications that handle their routes in the browser (React Router, Vue Router). With "No", reloading the page on /dashboard returns a 404 error. For a Vite project of this kind, choose the Static site nature: Nginx then sends any unknown address to index.html (React / Vite).

VitePress, VuePress, Eleventy and Hexo are generated directly (npx vitepress build docs, npx @11ty/eleventy, npx hexo generate) when the repository has no build script.

Native libraries added automatically

Some npm packages need system libraries. The build installs them when it sees the dependency.

npm dependencyAdded to the image
canvasCairo, Pango, libjpeg, giflib, librsvg, pixman
puppeteer, puppeteer-coreChromium, with PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium and PUPPETEER_SKIP_DOWNLOAD=true
fluent-ffmpeg, @ffmpeg-installer/ffmpegffmpeg
gmGraphicsMagick
pdf-popplerpoppler-utils
node-rdkafkalibrdkafka
kerberoskrb5
serialport, usbeudev, libusb
pg-nativePostgreSQL client
odbcunixODBC

All Node.js images also contain openssl (required by Prisma) and libc6-compat (for precompiled binaries).

The "Static site" nature

With the Static site nature, chosen at creation or in the service settings, the build does not look for an application server. The image produced is an Nginx 1.28 that serves your files.

Repository contentWhat is published
A package.json with a build scriptThe build is run, then the first folder containing an index.html among dist, build, out, _site, .output/public, public, www
HTML files with no build scriptThe first folder containing an index.html among the root, public, dist, build, site, _site, www

What this Nginx does:

  • it listens on the service's port;
  • /about serves about.html if it exists;
  • an unknown address returns index.html, which suits browser-side routers;
  • hidden files (.env, .git, .htpasswd) are never served, except the .well-known folder;
  • CSS, JavaScript, JSON and SVG are gzip-compressed.

If no index.html is found and there is no build script, the build fails with the message "No index.html found". A nature change in the settings takes effect at the next build.

With no repository, the Static site template deploys an Nginx with a persistent folder, editable from the Files panel.

Python

The image is python:<version>-alpine. The version comes from .python-version, runtime.txt, Pipfile or requires-python. With no indication, or with a lower bound like >=3.9, it is Python 3.12.

FrameworkDetected byStart
Django, Wagtailmanage.py and the dependencygunicorn <project>.wsgi:application --bind 0.0.0.0:$PORT
FastAPI, Litestar, Starlette, Quartdependencyuvicorn <module>:<app> --host 0.0.0.0 --port $PORT
Flask, Bottle, Falcondependencygunicorn '<module>:<app>' --bind 0.0.0.0:$PORT
Sanicdependencysanic <module>:<app>
Dashdependencygunicorn '<module>:server' --bind 0.0.0.0:$PORT if the code contains server = app.server, otherwise python <file>
Streamlitdependencystreamlit run <file> --server.port=$PORT --server.address=0.0.0.0
Gradiodependencypython <file>, with GRADIO_SERVER_NAME=0.0.0.0 and GRADIO_SERVER_PORT=$PORT
Chainlitdependencychainlit run <file> --host 0.0.0.0 --port $PORT
Paneldependencypanel serve <file> --address 0.0.0.0 --port $PORT
Tornado, aiohttp, CherryPydependencypython <file> (the application must read PORT)
MkDocsmkdocs.ymlstatic site: mkdocs build -d site
Pelicanpelicanconf.pystatic site
Sphinxconf.py or docs/conf.py, with no applicationstatic site: sphinx-build -b html docs _build/html
Pythonmain.py, app.py, server.py or run.pypython <file>

Details on installation and system packages are on Python.

PHP

The image is php:<version>-cli-alpine. The version comes from composer.json, 8.3 by default. The server is PHP's built-in server.

FrameworkDetected byStart
Laravellaravel/framework dependency, or artisan with composer.jsonphp artisan serve --host=0.0.0.0 --port=$PORT
Statamicstatamic/cms dependencyphp artisan serve --host=0.0.0.0 --port=$PORT
Lumen, Symfony, Slim, Laminasmatching dependencyphp -S 0.0.0.0:$PORT -t public
CodeIgnitercodeigniter4/framework dependency or spark filephp spark serve --host 0.0.0.0 --port $PORT
CakePHPcakephp/cakephp dependencybin/cake server -H 0.0.0.0 -p $PORT
Yiiyiisoft/yii2 dependencyphp -S 0.0.0.0:$PORT -t web
Craft CMS, Drupal, Kirbymatching dependencyphp -S 0.0.0.0:$PORT -t <web root>
WordPresswp-config.php, wp-load.php or wp-content/php -S 0.0.0.0:$PORT -t .
Gravsystem/ and user/ foldersphp -S 0.0.0.0:$PORT -t .
PHPan index.php at the root or in public, web, webroot, html, wwwphp -S 0.0.0.0:$PORT -t <web root>

See PHP for extensions and Composer.

Go

Compilation is done in golang:<version>-alpine (version from go.mod, 1.24 by default). The final image is an Alpine 3.21 that contains only the binary, launched by ./server. Gin, Echo, Fiber, Chi, Gorilla Mux, Iris, Beego, Buffalo and go-zero are recognized and built the same way. Hugo is recognized as a site generator (hugo --minify --gc). See Go.

Ruby

The image is ruby:<version>-alpine. The version comes from .ruby-version, .tool-versions or the Gemfile, 3.3 by default. Bundler is installed at the version given by Gemfile.lock, without the development and test groups.

FrameworkDetected byStart
Railsrails gembundle exec rails server -b 0.0.0.0 -p $PORT, after assets:precompile if the project has assets
Hanamihanami gembundle exec hanami server --host=0.0.0.0 --port=$PORT
Sinatra, Padrino, Grape, Roda, Rackmatching gem or config.rubundle exec rackup config.ru -o 0.0.0.0 -p $PORT
Jekyll, Middleman, Bridgetownmatching gemstatic site: _site, build, output
RubyGemfile with app.rb, main.rb or server.rbbundle exec ruby <file>

Rust

Compilation is done in rust:1-alpine, or in the version fixed by rust-toolchain. The final image is an Alpine 3.21 with the binary. The binary name comes from [package] name or the first [[bin]] in Cargo.toml. In a workspace, it is the first member that has a src/main.rs. A crate with no binary is not detected.

Axum, Actix Web, Warp, Poem, Salvo, Tide and Tonic are recognized. Rocket gets ROCKET_ADDRESS=0.0.0.0 and ROCKET_PORT=$PORT. Loco starts with ./server start --binding 0.0.0.0 --port $PORT.

Java and Kotlin

The build uses Maven (maven:3.9-eclipse-temurin-<N>-alpine) or Gradle (gradle:jdk<N>-alpine), with the mvnw and gradlew wrappers if they exist. The final image is an eclipse-temurin:<N>-jre-alpine JRE. The Java version is read from the build file and rounded to 8, 11, 17, 21 or 25. With no indication, it is Java 21.

FrameworkDetected byStart
Spring Bootspring-boot in the build filejava -jar /app/app.jar --server.port=$PORT
Quarkusquarkus in the build filejava -Dquarkus.http.port=$PORT -jar /app/quarkus-run.jar
Micronautmicronaut in the build filejava -jar /app/app.jar, with MICRONAUT_SERVER_PORT=$PORT
Ktor, Vert.x, Javalin, Dropwizardmatching dependencyjava -jar /app/app.jar (the application must read PORT)
Java, Kotlinpom.xml or build.gradle*java -jar /app/app.jar

The JVM is launched with -XX:MaxRAMPercentage=75.0: it uses at most 75% of the service's memory.

.NET

The build uses mcr.microsoft.com/dotnet/sdk:<version>-alpine (version from <TargetFramework>, 8.0 by default) and dotnet publish. ASP.NET Core and Blazor Server start with dotnet <assembly>.dll with ASPNETCORE_URLS=http://0.0.0.0:$PORT. Blazor WebAssembly is served as a static site. Worker services, C# and F# console applications start with dotnet <assembly>.dll.

.NET runs in invariant globalization mode (without ICU). An application that depends on regional cultures needs a Dockerfile.

Elixir, Gleam and Deno

FrameworkDetected byStart
Phoenixphoenix dependencymix phx.server, with MIX_ENV=prod
Plug, Elixirmix.exsmix run --no-halt
Gleamgleam.tomlgleam export erlang-shipment, run on Erlang 28
Freshdeno.json that mentions freshdeno task build, then deno task start
Oak, Denodeno.json or deno.jsoncdeno task start if the task exists, otherwise deno run -A <file> (main.ts, mod.ts, server.ts)

Other languages

LanguageEntries recognizedDetected by
CrystalCrystal, Kemal, Lucky, Ambershard.yml
NimNim, Jester, Prologuea *.nimble file with bin
ZigZigbuild.zig
LuaLuamain.lua, app.lua, server.lua
PerlPerl, Mojolicious, Dancer2, Plackcpanfile, Makefile.PL, app.psgi
RR, Shiny, Plumberapp.R, plumber.R, main.R
JuliaJulia, Genie, Oxygen.jlProject.toml
HaskellHaskell, Yesod, Servant, Scottya *.cabal file with an executable
ClojureClojure, Ringproject.clj (Leiningen)
DD, vibe.ddub.json or dub.sdl
Racket, Guile, Common Lisp, Tclscriptsmain.rkt, main.scm, main.lisp, main.tcl
C, C++Make, CMakeMakefile or CMakeLists.txt, with a mandatory Procfile
SitesZola, mdBookconfig.toml with base_url and content/, or book.toml

What auto build does not support

CaseReasonSolution
Dart and Flutter, Swift, Scala (sbt), Groovy, OCaml, Erlang with rebar3No usable Alpine imageDockerfile
Subfolder of a monorepoOnly the root is analyzedDockerfile at the root
PlaywrightNo browsers for AlpinePuppeteer (Chromium is added automatically) or Debian Dockerfile
TensorFlow, PyTorchNo precompiled packages for AlpineDebian Dockerfile
opencv-pythonTied to glibcopencv-python-headless
railpack.jsonFile ignored, with a warning in the logDockerfile, or service settings

Overriding what detection chose

Three ways, from lightest to most complete.

  1. The service's start command, in its settings, replaces the image's without touching the repository (Custom start command).
  2. A Procfile at the root, with a web: line, replaces the detected start command for all languages except Node.js. It is mandatory for C and C++.
web: gunicorn myapp.wsgi --bind 0.0.0.0:$PORT
  1. The Dockerfile build lets you write the entire build (Docker).

For Node.js, the start script in package.json plays the role of the Procfile.

Common errors

SymptomCauseWhat to do
"Framework not detected"No rule matches and no DockerfileAdd a Dockerfile or a Procfile
Wrong framework chosenLeftover dependency in package.json (an express forgotten after a migration)Remove the dependency, or define a start script
Build succeeds, service does not respondThe application listens on localhost or on a port other than PORTListen on 0.0.0.0:$PORT (Web applications)
Cannot find module 'dist/main.js'The build script does not produce the expected outputFix the build output or define a start script
404 error when reloading a page of a single-page applicationThe site is served without a fallback to index.htmlSwitch the service to the Static site nature
Install refused, lock fileFile missing or out of date with package.jsonRegenerate it locally and commit it

A framework is missing from this list: report it on Discord (new window) or through a support ticket.

Updated on November 20, 2026

Web applicationsPreviousNext.jsNext

On this page

Detection orderNode.jsNode.js versionPackage managerStart command of a Node.js serverFrameworks with server renderingServers and APIsCMSGenerated sitesNative libraries added automaticallyThe "Static site" naturePythonPHPGoRubyRustJava and Kotlin.NETElixir, Gleam and DenoOther languagesWhat auto build does not supportOverriding what detection choseCommon errors
© 2026 WebguneBack to the site