From 78b627494ed46a62e4faf609c4d2b46787a38ed9 Mon Sep 17 00:00:00 2001 From: Bryan Soltis Date: Wed, 10 Jan 2024 16:40:02 -0600 Subject: [PATCH] - 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