title: How to build dockerfile created by visual studio 2019 from command line?
body: <p>I have dockerfile created by visual studio 2019.
  How can i run it manually?
  bellow is the dockerfile:</p>
  
  <pre><code>FROM mcr.microsoft.com/dotnet/core/aspnet:2.1-nanoserver-1903 AS base
  WORKDIR /app
  EXPOSE 80
  
  FROM mcr.microsoft.com/dotnet/core/sdk:2.1-nanoserver-1903 AS build
  WORKDIR /src
  COPY ["Client/Client.csproj", "Client/"]
  RUN dotnet restore "Client/Client.csproj"
  COPY . .
  WORKDIR "/src/Client"
  RUN dotnet build "Client.csproj" -c Release -o /app/build
  
  FROM build AS publish
  RUN dotnet publish "Client.csproj" -c Release -o /app/publish
  
  FROM base AS final
  WORKDIR /app
  COPY --from=publish /app/publish .
  ENTRYPOINT ["dotnet", "Client.dll"]
  </code></pre>