Node-Vad needs Python. How to dokerfile now?

I saw someone getting help moving to a dockerfile deploy. Not sure how to go forawrd with this I'm using node-vad in a nodejs proejct and i guess it needs python. Any help would be great on how to set up dockerfile! https://www.npmjs.com/package/node-vad #10 2.329 .../node-vad@1.1.4/node_modules/node-vad install: gyp info using node-gyp@9.4.1 #10 2.329 .../node-vad@1.1.4/node_modules/node-vad install: gyp info using node@18.18.2 | linux | x64 #10 2.414 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python #10 2.414 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python Python is not set from command line or npm configuration #10 2.415 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python Python is not set from environment variable PYTHON #10 2.415 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python checking if "python3" can be used #10 2.416 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python - "python3" is not in PATH or produced an error #10 2.416 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python checking if "python" can be used #10 2.417 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python - "python" is not in PATH or produced an error #10 2.417 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python #10 2.417 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python ** #10 2.417 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python You need to install the latest version of Python. #10 2.418 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python Node-gyp should be able to find and use Python. If not, #10 2.418 .../node-vad@1.1.4/node_modules/node-vad install: gyp ERR! find Python you can try one of the following options:
npm
node-vad
Voice Activity Detection library for Node. Latest version: 1.1.4, last published: 4 years ago. Start using node-vad in your project by running npm i node-vad. There are 10 other projects in the npm registry using node-vad.
Solution:
ok fixed adding "python" to producers
Jump to solution
3 Replies
Percy
Percy4mo ago
Project ID: 6d8afc38-e39a-4993-ab99-cbe6dcc7a64d
carllippert
carllippert4mo ago
6d8afc38-e39a-4993-ab99-cbe6dcc7a64d
Solution
carllippert
carllippert4mo ago
ok fixed adding "python" to producers