Can't deploy node-python app. pip command not found
asynctushar
TRIALOP

a year ago

I've a node-python application where python script is used using spawn of "child-process". I have a requirements file.

And here is my "nixpacks.toml" file:

[phases.setup]

nixPkgs = [

'nodejs',

'python',

]

[phases.install]

cmds = ['npm ci']

[phases.build]

cmds = ['pip install -r requirements.txt' ,'npm run build']

[start]

cmd = 'npm start'

Now I'm getting error while deploying the application like,

pip command not found

0 Replies

Loading...