notes.dt.in.th

Nixpacks is pretty cool. Instead of having to write my own Dockerfile, Nixpacks analyzes the source code and generates a Docker image from the source code.

  • It works with Node.js out-of-the-box, among other runtimes.
  • All 3 major package managers (npm, Yarn and pnpm) are supported^[by checking for the presence of the appropriate lock file or Corepack configuration].
  • Nx and Turborepo are supported out-of-the-box.
  • Caching is set up automatically.

Installation

:::

Build an image

:::

Learn more

Documentation: https://nixpacks.com/docs/providers/node