Closed rokcarl closed 2 months ago
Can you try this way? https://github.com/Azure/azure-functions-docker/issues/987#issuecomment-1846724440
I've since moved on to Azure Container Apps because of a multitude of problems with Azure Functions, so while it wasn't resolved for me, I'm closing this one.
I have an Azure Functions app that I'm already running in production and locally. I wanted to containerize so we can later use it in AKS or similar. So I ran
func init --docker-only
to get thisDockerfile
. First I had the Function not implemented problem, solved it thanks to this suggestion. So I built the containerdocker build --platform linux/amd64 -t app .
and then ran it withdocker run -p 8080:80 -it app
.I got this warning, now there are no functions to call:
Here's the entire log
``` info: Host.Triggers.Warmup[0] Initializing Warmup Extension. info: Host.Startup[503] Initializing Host. OperationId: 'dc03b8bd-18fa-467a-b864-0ece4b0286de'. info: Host.Startup[504] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=dc03b8bd-18fa-467a-b864-0ece4b0286de info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] LoggerFilterOptions { "MinLevel": "None", "Rules": [ { "ProviderName": null, "CategoryName": null, "LogLevel": null, "Filter": "Similar to #642 and #128, but not quite the same.