I would like to install linux package during the python Azure Web App (app services) deployment.
Type of the app is "code" and at the moment I cannot use docker container deployment due to non-technical restrictions.
however application requires linux library to be installed. I am searching for the alternatives on how to deliver it without using container solutions.
One of the articles suggested to check ORYX deployment, but I cannot find any good details or demo where package dll is installed when code is deployed using zip package.
I would appreciate any suggestion.
Refer this blog to install Python
native/localdependencies in your Azure Web app, I have added this Github repository mentioned in the blog in my Azure Web app and added the folder path torequirements.txtthe packages from those folders- Folder 1- ./NmspcPing , Folder 2- ./NmspcPong got installed successfully in the Azure Web App.My Folder Structure:-
My requirements.txt:-
Output:-
During Azure Web App deployment the local packages from
./NmspcPingand./NmspcPonggot deployed successfully:-Using
setup.pyis also one way of installing the Linux libraries directly by SSH'ing into Azure Web App.I have visited Azure Web App > Development Tools > Advanced Tools > Go > kudu site > SSH > run the command below:-
Output:-
Azure Web app loads successfully:-