Avoiding reinstallation of modules after each deployment

akg777 1 Reputation point


I am running an Azure App Service on Python which requires a lot of modules/Python packages to work. I wanted to ask if there is any way to prevent reinstalling them every time I deploy my app? I am using the "az webapp up" command to deploy the app and it seems to reset my server to its initial state after each deployment (which doesn't come built in with the modules I need).

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,199 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dabhan-MSFT 21 Reputation points Microsoft Employee

    All the modules have to be mentioned in requirements.txt


    If we sets this, kudu deployment script shouldn't run

    Does this answer your query?

    0 comments No comments