I run an azure funciton locally inside a docker container using this base image:
mcr.microsoft.com/azure-functions/dotnet:3.0
When having a look at the docker files (here for example: https://github.com/Azure/azure-functions-docker/blob/dev/host/2.0/stretch/amd64/dotnet/dotnet.Dockerfile), I see the /azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost library invoked at startup. However, I couldn't find any option to stop the running azure function and re-start it without restarting the whole container, so my question is:
How can I restart an azure function inside a linux container without restarting the whole container?