I have come to a standstill. I have a dotnet core 1.0.0 application that I am trying to start and run. It works fine with linux and from windows. Now I'm trying to get it to docker. I made this docker file:
FROM microsoft/dotnet:1.0.0-preview2-sdk
COPY . /app
WORKDIR /app/app
RUN ["dotnet", "restore"]
ENTRYPOINT ["dotnet", "run"]
It simply copies the code to the application folder in the docker image and restores the dependencies, and then launches it. When I try to start it, it starts when everything works and prints the same as when starting Windows or Linux.

The command to start the project:
docker run --name dotNetWeb -p 8080:8080 kiksen1987/dotnetcore
Link to code:
https://github.com/kiksen1987/dotnetcore
Link to the Docker image:
https://hub.docker.com/r/kiksen1987/dotnetcore/
, . , 99% .
:)