Commit: Listen Port.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user