Gökhan GÖKALP
08.09.2017
Trendyol Tech Talk
FROM microsoft/dotnet:runtime
WORKDIR /dotnetapp
COPY out .
ENTRYPOINT ["dotnet", "dotnetapp.dll"]
Dockerfile
dotnet restore
dotnet publish -c Release -o out
Restore packages and publish
docker build -t dotnetapp .
docker run -it --rm dotnetapp
Build and run the Docker image