Azure functions with docker container doesn't detect functions

Viewed 24

We have implemented a DevOps pipeline to deploy Azure functions in a docker container that is published to a private container registry via a build pipeline. When pulling the published container to my local machine for validation, it works as expected.

After deploying the functions with this container via the deploy pipeline in DevOps, the Docker logs via the Kudu application show that the container is pulled successfully etc. So far so good.

Unfortunately, when calling the function (it has an HttpTrigger) on the deployed app, the endpoint is not found (404 response). When checking the function runtime logging, it reports that there are no functions found.

The image created is based off mcr.microsoft.com/azure-functions/dotnet:4.

I must be missing some configuration, but can't put my finger on it.

0 Answers
Related