This is a Dagger module for building an OCI image of your project using nixpacks.
dagger -m github.com/tsirysndr/daggerverse/nixpacks call \
dev --src <source> terminal
dagger -m github.com/tsirysndr/daggerverse/nixpacks call \
dev --src . terminal
dagger -m github.com/tsirysndr/daggerverse/nixpacks call \
plan --src .
dagger -m github.com/tsirysndr/daggerverse/nixpacks call \
build --src . --name my-app
Name | Description |
---|---|
dev |
Start a development environment |
plan |
Generate build plan for the project |
build |
Build an OCI image of the project |
publish |
Publish the OCI image to a registry |
import { plan, build } from 'jsr:@fx/nixpacks';
await plan(".");
await build(".", "my-app");