How can I get an Azure Isolated Function running in docker locally to use https.

William Wallace 1 Reputation point
2022-11-18T18:07:00.427+00:00

How can I get an Azure Isolated Function in .NET 7 running in docker locally to use https. The function instance in docker seems to ignore the launchSettings.json settings and the docker settings I have applied don't seem to help either:
{
"profiles": {
"SensorIQ.CloudClient.FunctionApp": {
"commandName": "Project",
"commandLineArgs": "--port 7055 --useHttps --cert \"SensorIQSSL.pfx\" --password \"badkitty\""
},
"Docker": {
"commandName": "Docker",
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
"publishAllPorts": true,
"httpPort": 33990,
"useSSL": true,
"sslPort": 33999,
"environmentVariables": {"Environment": "Test"}
}
}
}

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,607 questions
{count} votes