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 tool | plan not known |
|---|
Alternatives
The same job
These do what Nixpacks does.
- Cloud Native Buildpacks Turn application source code into container images without a Dockerfile (CNCF)
- Railpack Zero-config application builder that turns your code into an image
- ko Simple, fast container image builder for Go applications
- BuildKit concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
- kaniko Build Container Images In Kubernetes
- Paketo Buildpacks Production-ready Cloud Native Buildpacks for popular languages