Function App Python Dependency

Abhay Gupta 71 Reputation points
2021-06-10T00:52:00.457+00:00

Hi

When deploying python Function App we see first oryx checks for requirement.txt and then try to install the dependencies from files.pythonhosted using pip install.

If from our azure vnet outside network is not allowed what is the best way to build these dependencies? Is there some different way of deployment.

Please let us know.

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,709 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,366 Reputation points Microsoft Employee
    2021-06-11T05:07:07.347+00:00

    Hello @Abhay Gupta , apologies for the delay here.
    As shown here you can install the dependencies locally and do a publish with a --no-build option. You can refer to this stackoverflow question for any additional details.
    Please let me know if there are any concerns. Thank you!

    0 comments No comments

Your answer

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