This repository contains a .NET Core Web application, unit tests and Dockerfile.
This Dockerfile is horrible, you may want to fork this repository, fix all the problems and try to update the workflow.
I recommend you to use https://github.com/marketplace/actions/container-structure-test-action to ensure the docker image quality.
There is also one more file: Dockerfile.fixed
with some fixes applied to it. If you build an image using this docker file this image will pass CI tests.
docker image build -t asp-net-container:latest .
docker run -p 801:80 --name asp-net-container asp-net-container:latest
this will build an image, start a new container with would serve http requests on localhost, port 801.
Make sure you cave container-structure-tests installed. You can follow the instructions from the official repo.
container-structure-test test --image asp-net-container:latest --config container-structure-tests.yaml