Dockerfile added

This commit is contained in:
2025-03-03 01:15:38 +01:00
Unverified
parent 8b1ab05a08
commit 3ba87b842d
4 changed files with 85 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
@@ -29,4 +30,19 @@
<ProjectReference Include="..\WatchIt.DTO\WatchIt.DTO.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Controllers\obj\project.assets.json" />
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Controllers\obj\project.packagespec.json" />
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Controllers\obj\WatchIt.WebAPI.Controllers.csproj.nuget.dgspec.json" />
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Validators\obj\project.assets.json" />
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Validators\obj\project.packagespec.json" />
<_ContentIncludedByDefault Remove="WatchIt.WebAPI.Validators\obj\WatchIt.WebAPI.Validators.csproj.nuget.dgspec.json" />
</ItemGroup>
</Project>