How this works:
- when you call
docker-compose -f docker-compose.ci.build.yml up, the imagemicrosoft/aspnetcore:1.0.1-sdkis attempted to be instanced. - The first time,
microsoft/aspnetcore:1.0.1-sdkisn't available compose up will build the image using.\build\Dockerfile - The root of the solution is volume mapped in
dotnet restore,dotnet publish -c releaseare executed
In the same folder as this readme.md file, call:
docker-compose -f docker-compose.ci.build.yml up
Once built, cd .\bin\Release\publishoutput\
From the published directory, dotnet marketing.dll
This will run the site at http://localhost:5000
Once built, docker-compose up -d
Find the dynamically assigned port: docker ps
IMAGE PORTS
bikesharing/marketing 0.0.0.0:32786->8080/tcp