talira

Nixpacks

App source + Nix packages + Docker = Image

open sourceMITfree

Nixpacks takes a source directory and builds an OCI-compliant image that can be deployed anywhere. Railway started it as an alternative to Buildpacks for deploying users' apps on its platform: it detects the language (Node, Python, Ruby, Go, Rust, Java, PHP, Elixir, .NET and many more), pulls system and language dependencies from Nix packages, and lets you override packages and the build and start commands with a config file or flags. Coolify, Dokku, Dokploy and other platforms can build with it. It's in maintenance mode and not under active development: Railway recommends its successor, Railpack.

Ways to install

Package managers

Problems it solves

  • build a container image from my app's source without writing a Dockerfile
  • detect my app's language and dependencies automatically and package it as a Docker image
  • a Buildpacks alternative that uses Nix packages for system dependencies

Features

  • Builds OCI images from a source directory
  • Detects about two dozen languages and frameworks
  • System and language dependencies from Nix packages
  • Custom packages and build and start commands via flags or a config file
  • Procfile support and build caching

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Nixpacks does.

  1. Cloud Native Buildpacks Turn application source code into container images without a Dockerfile (CNCF)
  2. Railpack Zero-config application builder that turns your code into an image
  3. ko Simple, fast container image builder for Go applications
  4. BuildKit concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
  5. kaniko Build Container Images In Kubernetes
  6. Paketo Buildpacks Production-ready Cloud Native Buildpacks for popular languages

Compare Nixpacks with the top 3