title: Docker - dotnet - can't run app from entrypoint
body: <p>I have weird problems with entrypoint in my dockerfile.</p>
  
  <p>This is my dockerfile:</p>
  
  <pre><code>FROM microsoft/dotnet:latest
  
  WORKDIR /test
  
  ADD . /test
  
  RUN ["dotnet", "restore", "DockerAPI2.sln"]
  RUN ["dotnet", "build", "DockerAPI2.sln"]
  
  EXPOSE 4000/tcp
  
  ENTRYPOINT [ "dotnet", "DockerAPI2.dll" ]
  </code></pre>
  
  <p>When I run docker run --name test -d -p 4001:4000 <code>-v "C:\Users\random\docker":"/var/lib" -t test-img:latest</code>
  I get next error:  </p>
  
  <blockquote>
    <p>No executable found matching command "dotnet-DockerAPI2.dll</p>
  </blockquote>
  
  <p>What I noticed is that for some xy reason, he is placing "-" between dotnet and DockerAPI2.dll which is ofc not valid. I would like to know if this is a bug or there is some way to get around this?</p>
  
  <p>PS: I am running Docker for Windows with Linux containers, and I have enabled 4001 in firewall.</p>