Last active
September 10, 2025 14:02
-
-
Save sandros94/a3a35dcdfe377c306b0ce7136c61c1b5 to your computer and use it in GitHub Desktop.
A collection of nixpacks.toml to be used with Nuxt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Nuxt's build nixpacks.toml | |
| [variables] | |
| NIXPACKS_NODE_VERSION = '20' | |
| [phases.install] | |
| onlyIncludeFiles = [ | |
| ".npmrc", | |
| "package.json", | |
| "pnpm-lock.yaml", | |
| ] | |
| [phases.build] | |
| dependsOn = ['install'] | |
| cmds = ['pnpm run build'] | |
| [start] | |
| dependsOn = ['build'] | |
| runImage = 'node:20-slim' | |
| onlyIncludeFiles = ['./.output', './public'] | |
| cmd = 'node .output/server/index.mjs' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment