Skip to content

Latest commit

 

History

History

nixpacks

Module: Nixpacks

dagger-min-version deno compatibility ci

This is a Dagger module for building an OCI image of your project using nixpacks.

🚀 Usage

dagger -m github.com/tsirysndr/daggerverse/nixpacks call \
  dev --src <source> terminal

🧑‍🔬 Example

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

✨ Jobs

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

🧑‍💻 Programmatic usage

import { plan, build } from 'jsr:@fx/nixpacks';

await plan(".");
await build(".", "my-app");