Created
August 16, 2025 08:50
-
-
Save fubits1/2efde8b4b6d14834210b55304d9f013e to your computer and use it in GitHub Desktop.
nixpacks with nodejs_24 (Node v24.5.0)
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
| buildImage = 'ghcr.io/railwayapp/nixpacks:latest' | |
| [phases.setup] | |
| nixPkgs = ["nodejs_24", "pnpm_10"] | |
| # node v24.5.0 | |
| nixpkgsArchive = 'cf93ceb06388f5714302b702cccf2c77f6064442' | |
| [phases.install] | |
| dependsOn = ["setup"] | |
| cmd = "pnpm install --frozen-lockfile" | |
| [phases.build] | |
| dependsOn = ["install"] | |
| cmd = "pnpm build" | |
| [start] | |
| cmd = "node build" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
important: remove "engines" field from package.json, otherwise it reverts to node v22.17.0 for whatever reason