.NET Core SPA + Docker : Simpler

Just kind of replacing my last post to make the getting started even simpler. After playing a little bit more with Docker, I've realized there's no need to use compose, build, YAML or any of these fancy stuff for such a simple implementation. With 10 commands, you'll have your brand new spa, docker image, and container up-and-running. Let's have a look... The commands below assume you have the pre-requisites listed in the previous post and VS Code installed Open your console and start typing md SpaDocker cd SpaDocker dotnet new angular dotnet restore dotnet publish -c Release -o ./build touch »

.NET Core SPA + Docker

Playing with Docker has been on my bucket list for while and I've finally put aside some time to get started. So this was the easiest way I've found to start a brand new SPA using .NET Core and dockerize it. I'm not going to do any introduction to Docker itself, if you want to know more about it, check this video or go to their website. Pre-requisites DotNet Cli SPA Templates Install Docker for Windows Creating SPA Open the console (I use Cmder) and navigate to a folder you want to create your application. In the commands below, I »