Share via

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.

0 comments No comments

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,671 Reputation points Microsoft Employee Moderator
    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!

    Was this answer helpful?

    0 comments No comments

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.