nixpacks

Build Docker images from source code using Nix packages

brewmacoslinux
Try with needOr install directly
Source

About

App source + Nix packages + Docker = Image

Commands

nixpacks

Examples

Build a Docker image from a local project directory$ nixpacks build . -t my-app:latest
Build and run a Docker image directly$ nixpacks build . --run
Generate Dockerfile without building the image$ nixpacks generate . -o Dockerfile