.net-core

.NET Core with Docker

Remarks#

Fill with examples of using Docker on .NET Core platform, official base images for .NET Core application and self-hosted .NET Core app as well

Dockerfile sample

.NET Core app should be published using dotnet publish

FROM microsoft/dotnet:latest
COPY bin/Debug/netcoreapp1.0/publish/ /root/
EXPOSE 5000
ENTRYPOINT dotnet /root/sampleapp.dll

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow