Skip to content

Instantly share code, notes, and snippets.

@sandros94
Last active September 10, 2025 14:02
Show Gist options
  • Select an option

  • Save sandros94/a3a35dcdfe377c306b0ce7136c61c1b5 to your computer and use it in GitHub Desktop.

Select an option

Save sandros94/a3a35dcdfe377c306b0ce7136c61c1b5 to your computer and use it in GitHub Desktop.
A collection of nixpacks.toml to be used with Nuxt
# 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