Skip to content

Commit d1d7ea6

Browse files
authored
Merge pull request #6 from anuraj/feature/dotnetcli-publish-container
dotnet CLI - container publish feature added.
2 parents 14aaa2d + 858bc7f commit d1d7ea6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Source/MinimalApi.csproj

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
<TargetFramework>net7.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<UserSecretsId>c863d8a7-6953-45aa-baa6-3b932debfdd0</UserSecretsId>
8-
</PropertyGroup>
7+
<UserSecretsId>c863d8a7-6953-45aa-baa6-3b932debfdd0</UserSecretsId>
8+
<ContainerImageName>minimalapi</ContainerImageName>
9+
<ContainerImageTag>1.0.0</ContainerImageTag>
10+
</PropertyGroup>
911

1012
<ItemGroup>
1113
<PackageReference Include="Asp.Versioning.Http" Version="6.2.2" />
@@ -24,6 +26,7 @@
2426
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.0" />
2527
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="7.0.0" />
2628
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.0" />
29+
<PackageReference Include="Microsoft.NET.Build.Containers" Version="0.2.7" />
2730
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
2831
</ItemGroup>
2932
<ItemGroup>

0 commit comments

Comments
 (0)