DaniJG / ASPCoreVueCLITemplates

Templates for integrating ASP.NET Core and Vue-CLI into a project
59 stars 19 forks source link

Build with docker #7

Open godshades opened 4 years ago

godshades commented 4 years ago

Hi, can you tech me how to build "alternative-spa-template" with docker when I start, it say run on 127.0.0.1:80, but when I go to this URL => not work I try localhost:5000 but not work too

DaniJG commented 4 years ago

You would need to make sure you expose the ports to your local machine. It would be helpful if you could share the Dockerfile (and docker-compose if you are using it)

Also note this template goes against the docker approach of one container per service, since you would be forced to have both dotnet and node installed/running in your dev container

godshades commented 4 years ago

@DaniJG thanks, I understand