Skip to content

Commit

Permalink
- Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanSoltis committed Jan 10, 2024
1 parent 994dcf3 commit 78b6274
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AzureNamingTool.csproj.user
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>https</ActiveDebugProfile>
<ActiveDebugProfile>Docker</ActiveDebugProfile>
<NameOfLastUsedPublishProfile>C:\Projects\AzureNamingTool\.github\workflows\codeql.yml</NameOfLastUsedPublishProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
7 changes: 5 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78b6274

Please sign in to comment.