Skip to content

Latest commit

Β 

History

History
46 lines (33 loc) Β· 1.36 KB

README.md

File metadata and controls

46 lines (33 loc) Β· 1.36 KB

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");