C#C
C#3y ago
mindhardt

✅ Error when building ASP.NET Core 7 docker image

I have an ASP.NET Core 7 WebApi project that I am trying to dockerize, however when I try to build it the picrelated errors occur and my api project cannot build. What is the issue?
Link to repo and dockerfile (default generated by Rider): https://github.com/MindHardt/HotelRoomsService/blob/master/Dockerfile
image.png
GitHub
Our ASP.NET Core microservice for a university course - HotelRoomsService/Dockerfile at master · MindHardt/HotelRoomsService
Was this page helpful?