Deploying

Build Packs

How Ink builds your applications

Ink supports four build packs that determine how your application is built and deployed.

Auto-detect (default)

The default build pack automatically detects your language and framework. It supports:

  • Node.js, Python, Go, Ruby, Java, PHP, Rust, Elixir, and more
  • Framework detection for Next.js, Django, FastAPI, Rails, Spring Boot, etc.
  • Automatic dependency installation and build steps

No configuration needed — Ink figures it out from your code.

Dockerfile

Use your own Dockerfile for full control over the build process:

  • Supports custom dockerfile_path for non-standard locations
  • Auto-detects EXPOSE directives for port configuration
  • Full control over base images, build steps, and runtime

Static

The most resource-efficient deployment type. Serves pre-built files through nginx with minimal memory and CPU usage — ideal for sites that don't need a server runtime.

  • HTML, CSS, JavaScript
  • Built single-page apps (when combined with publish_directory) — React (Vite), Vue, Svelte, Angular, or any framework that outputs static files
  • Served via nginx on port 8080

On this page