Skip to main content

Build an OCI image of your project using nixpacks

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
76%
Published
2 months ago (0.1.1)

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");
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @fx/nixpacks

Import symbol

import * as mod from "@fx/nixpacks";

Add Package

npx jsr add @fx/nixpacks

Import symbol

import * as mod from "@fx/nixpacks";

Add Package

yarn dlx jsr add @fx/nixpacks

Import symbol

import * as mod from "@fx/nixpacks";

Add Package

pnpm dlx jsr add @fx/nixpacks

Import symbol

import * as mod from "@fx/nixpacks";

Add Package

bunx jsr add @fx/nixpacks

Import symbol

import * as mod from "@fx/nixpacks";