title: How to run .NET unit tests in a docker container
body: <p>I have a .NET Core application containing MSTest unit tests. What would the command be to execute all tests using this Dockerfile?</p>
  
  <pre><code>FROM microsoft/dotnet:1.1-runtime
  ARG source
  COPY . .
  ENTRYPOINT ["dotnet", "test", "Unittests.csproj"]
  </code></pre>
  
  <p>Folder structure is:</p>
  
  <pre><code>/Dockerfile
  /Unittests.csproj
  /tests/*.cs
  </code></pre>