My C# project can be built and hosted with and without Docker. Inside Program.cs, I need to know if the build is for Docker or not. How can I do something like this:
#if DOCKER
#endif
My C# project can be built and hosted with and without Docker. Inside Program.cs, I need to know if the build is for Docker or not. How can I do something like this:
#if DOCKER
#endif