AnySites

// BUILD CONFIGURATION

Framework Auto-Detection

The auto-build only recognizes Node.js frameworks. Everything else needs its own Dockerfile.

AnySites can generate a Dockerfile for you automatically, but only for Node.js projects — this is the single most important fact for anyone not building a Node app.

What gets auto-detected

If your repo has no Dockerfile, AnySites reads package.json and picks the closest match:

Detected asTrigger
Next.jsnext in dependencies
Nuxtnuxt in dependencies
SvelteKit@sveltejs/kit in dependencies
Remix@remix-run/node or remix in dependencies
Generic Node serverfastify, express, koa, or hono in dependencies
Generic Node (fallback)Any other package.json, or none at all
If your project isn't Node.js — Python, Go, Ruby, Rust, anything — the "no package.json" case falls into the generic Node fallback anyway, which builds a node:20-alpine image and tries to run your start command inside it. There is no Python/Go runtime in that image, so the container will fail to start and the deploy fails on health-check timeout. You must commit your own `Dockerfile` — see Deploy with a Custom Dockerfile.

The base Node version used for auto-generated Dockerfiles is node:20-alpine.

Related documentation