Docs · RUNTIMES

Static sites, Next.js, Node.js, Python, and Dockerfile conventions

PocketBay detects framework_hint from your repo, then applies version and start-command rules during the build plan.

Deploy types

TypeTypical stackRequirements
staticHTML/CSS/JS or exported static siteindex.html at root or configured output dir
nextjsNext.js (App or Pages router)next in dependencies; build + start; NEXT_PUBLIC_ for client env
nodeExpress, Hono, Koa, NestJSpackage.json start; listen on PORT; bind 0.0.0.0
pythonFastAPI, Flask, Djangorequirements/pyproject/Pipfile; web entry; PORT binding
dockerfileGo, Java, PHP, Ruby, Rust, customDockerfile at root; HTTP service that passes health checks

VERSION & LOCKFILE HINTS

The build plan reads package-lock, pnpm-lock, yarn.lock, bun.lockb, Python pins, and Docker base images. If your runtime is too new, deploy returns a structured error with repair_hint for your AI agent.