How to install apt-get packages on Azure function

Viewed 813

Running a python Azure function on Linux consumption plan. I have been able to successfully deploy the function to Azure using VS Code. All the packacges in requirements.txt are getting installed without a problem. But now i need to install tesseract which only can be installed through apt-get

1 Answers

You can use tasks.json in the Azure function project which allows you to configure tasks which would run. There is even a breakdown on an operating system level e.g. windows should run specific commands and Linux should run differently.

Related