Commit: Listen Port.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||
USER app
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
EXPOSE 8081
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
|
||||
# This stage is used to build the service project
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_HTTPS_PORTS": "8081",
|
||||
"ASPNETCORE_HTTP_PORTS": "8080"
|
||||
"ASPNETCORE_HTTPS_PORTS": "443",
|
||||
"ASPNETCORE_HTTP_PORTS": "80"
|
||||
},
|
||||
"publishAllPorts": true,
|
||||
"useSSL": true
|
||||
|
||||
Reference in New Issue
Block a user