I have a nodeJS API which uses child_process to run a python file.
I know heroku has a way to add another buildpack with a script.
Is there a way with Microsoft Azure (web app / app services) to use NodeAPI and Python files in an App service.
PS : Python file is not an API, it is just a script that runs from node.
Thank you
CodePudding user response:
When you hosted a Web App in Azure, you already have all runtime environments by default.
- Web App Runtime on Azure Portal:
- Python Runtime on Kudu Explorer:
- NodeJS and PHP on Kudu Explorer:
- Check the other stack versions in Console and if it not sufficient, update them.
Note:
- When creating the webapp, it is recommended to choose windows platform which supports virtual application because when you find that you cannot use the runtime you required, you can try to install runtime extensions for other programs.
- Also, it is possible under Linux but requires command line to operate.