Opus changes
This commit is contained in:
@@ -10,4 +10,21 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- SDK container publishing (dotnet publish -t:PublishContainer). The Web SDK
|
||||
includes Microsoft.NET.Build.Containers, so no Dockerfile is needed; the
|
||||
base image is inferred from TargetFramework (aspnet:8.0). -->
|
||||
<PropertyGroup Label="Container">
|
||||
<ContainerRepository>animeannouncer-web</ContainerRepository>
|
||||
<!-- Add a version alongside it at publish time:
|
||||
dotnet publish ... -p:ContainerImageTags='"1.1.0;latest"' -->
|
||||
<ContainerImageTags>latest</ContainerImageTags>
|
||||
<!-- The aspnet base image ships a non-root 'app' user; 8080 is unprivileged. -->
|
||||
<ContainerUser>app</ContainerUser>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Matches ASPNETCORE_HTTP_PORTS, which the aspnet:8.0 image defaults to 8080. -->
|
||||
<ContainerPort Include="8080" Type="tcp" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user