Share via

User multiple stacks in one nodejs app

AGAMPREET SINGH 21 Reputation points
2022-05-09T22:55:44.45+00:00

Hi,
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 Azure to use NodeAPI and Python files in an App service.

PS : Python file is not an API, its just a script that runs from node.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

VenkateshDodda-MSFT 25,251 Reputation points Microsoft Employee Moderator
2022-05-10T10:10:38.42+00:00

@AGAMPREET SINGH Thanks for reaching out. If you deploy your Node js Web app/Web Api with Windows as operating system, then You can use the site extensions to add the python extension and to run the python script from your kudu console. I have tested this in my local environment it is working fine.
Here is the reference document for more information about Azure Site Extensions.

Feel Free to reach back to me if you have any further questions.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.