- Dotnet 8.0
For some reason, the .Net Core template docker file expects you to run from the root, and point at the nested Dockerfile.
So, from the repository root
docker build -t lucasob/coreledger:latest -f CoreLedger/Dockerfile .
Assuming you've built,
docker run --rm --name api -p 8080:8080 --expose 8080 lucasob/coreledger