build: add nodejs and python env for nixpacks setup
The Node.js package was missing from the nixPkgs list, which is required for the npm ci command to run. Also explicitly set the PYTHON environment variable to ensure the correct Python version is used during the build.
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
providers = ["node"]
|
providers = ["node"]
|
||||||
|
|
||||||
[phases.setup]
|
[phases.setup]
|
||||||
nixPkgs = ["python3", "gnumake", "gcc", "sqlite"]
|
nixPkgs = ["nodejs", "python3", "gnumake", "gcc", "sqlite"]
|
||||||
|
|
||||||
|
[envs]
|
||||||
|
PYTHON = "python3"
|
||||||
|
|
||||||
[phases.install]
|
[phases.install]
|
||||||
cmds = ["npm ci"]
|
cmds = ["npm ci"]
|
||||||
|
|||||||
Reference in New Issue
Block a user