Commit: Listen Port.

This commit is contained in:
clive
2024-11-10 13:59:43 +11:00
parent cecdf5b646
commit 931a795946
2 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER app USER app
WORKDIR /app WORKDIR /app
EXPOSE 8080 EXPOSE 80
EXPOSE 8081 EXPOSE 443
# This stage is used to build the service project # This stage is used to build the service project

View File

@@ -30,8 +30,8 @@
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_HTTPS_PORTS": "8081", "ASPNETCORE_HTTPS_PORTS": "443",
"ASPNETCORE_HTTP_PORTS": "8080" "ASPNETCORE_HTTP_PORTS": "80"
}, },
"publishAllPorts": true, "publishAllPorts": true,
"useSSL": true "useSSL": true