C
C#2y ago
Hercules

✅ Dockerfile goes where exactly if I have multiple class libraries in a sln?

Do we have anyone experienced in docker and has dockerized c# projects because im trying to follow this guide https://learn.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows But I got multiple class libraries in my .sln which im probably have to create a seperate container for. and this guide creates only one container for the console application. As of now im confused where I need to place my dockerfile. Should I have one for each directory: API, Services, NectoProtocolGateway and shared?
Containerize an app with Docker tutorial - .NET
In this tutorial, you'll learn how to containerize a .NET application with Docker.
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Hercules
Hercules2y ago
Thanks, I just have a dockerfile for each api or standard class library. In case the sln becomes more monolit or extended with an api.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Hercules
Hercules2y ago
Thanks for the clarification.
Want results from more Discord servers?
Add your server
More Posts