The Problem:
It turned out that calling
dotnet pack
command produces nothing for .NET Core web projects. After a quick googling I found the following Github Issue, which explains that this behavior is by design.
The Solution:
Change csproj file by adding the following property:
<PropertyGroup>
<IsPackable>true</IsPackable>
</PropertyGroup>