From 78b627494ed46a62e4faf609c4d2b46787a38ed9 Mon Sep 17 00:00:00 2001 From: Bryan Soltis Date: Wed, 10 Jan 2024 16:40:02 -0600 Subject: [PATCH 1/2] - Updated Dockerfile --- src/AzureNamingTool.csproj.user | 2 +- src/Dockerfile | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/AzureNamingTool.csproj.user b/src/AzureNamingTool.csproj.user index 73821ccb..69ce4be0 100644 --- a/src/AzureNamingTool.csproj.user +++ b/src/AzureNamingTool.csproj.user @@ -1,7 +1,7 @@  - https + Docker C:\Projects\AzureNamingTool\.github\workflows\codeql.yml diff --git a/src/Dockerfile b/src/Dockerfile index d2def0bf..4fb67223 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -2,8 +2,11 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -EXPOSE 80 -EXPOSE 443 + +EXPOSE 8080 +EXPOSE 8081 + +ENV ASPNETCORE_HTTP_PORTS 80 FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src From a83763e61ae022ee1492d9ec07255a1536981ff4 Mon Sep 17 00:00:00 2001 From: Bryan Soltis Date: Wed, 10 Jan 2024 16:41:10 -0600 Subject: [PATCH 2/2] - Updated VS Project defaults --- src/AzureNamingTool.csproj.user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureNamingTool.csproj.user b/src/AzureNamingTool.csproj.user index 69ce4be0..819091a7 100644 --- a/src/AzureNamingTool.csproj.user +++ b/src/AzureNamingTool.csproj.user @@ -1,7 +1,7 @@  - Docker + http C:\Projects\AzureNamingTool\.github\workflows\codeql.yml