.NET core web api won't run

I have a mac and parallels with windows 10. I compiled the webapi template in visual studio 2017 on windows without docker support to a folder on my mac. For some reason, I can’t get the docker image to run (hello-world image works fine). Docker is installed on the Mac. Here are my steps:

dotnet restore ./WebApplication1.sln
dotnet publish ./WebApplication1.sln -c Release -o ./obj/Docker/publish
Here is my docker file located in the project directory

FROM microsoft/aspnetcore:latest
ARG source
COPY ${source:-obj/Docker/publish} /app
ENTRYPOINT ["dotnet", “WebApplication1.dll"]

Calling docker commands from the terminal

docker build WebApplication1 -t WebApplication1

docker run -d -p 5000:5000 WebApplication1

This gives me a container id but it never starts. I hope I am missing something simple. Please advise.