This commit is contained in:
clive
2024-11-10 13:48:58 +11:00
parent 47f44e09ef
commit cecdf5b646
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 80 EXPOSE 8080
EXPOSE 443 EXPOSE 8081
# 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": "443", "ASPNETCORE_HTTPS_PORTS": "8081",
"ASPNETCORE_HTTP_PORTS": "80" "ASPNETCORE_HTTP_PORTS": "8080"
}, },
"publishAllPorts": true, "publishAllPorts": true,
"useSSL": true "useSSL": true