Alistair Chapman
@agc93
Thanks @thepracticaldev!
Alistair Chapman
agc93
agc93
1.1
2.0 Preview
FROM microsoft/dotnet:1.1.2-sdk
COPY . /app
WORKDIR /app
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]
EXPOSE 5000/tcp
CMD ["dotnet", "run", "--server.urls", "http://*:5000"]
Dockerifying a basic .NET app
@agc93
(essentially everywhere)
https://blog.agchapman.com/
https://github.com/agc93/