C
C#10mo ago
İrşat

❔ .NET 7 + React deployment concept?

I am having a hard time understanding the google cloud deployment method. Let's say I created an app with dotnet new react, now I have an API and inside the folder there is ClientApp. I need a docker image too. But here is the part I have no idea about; How do I deploy them together? Or do I host them seperately? How can I have them both in the same url? Do I need docker image for react app? It's bundled so I don't think I need one. If yes, both of them get the same image? So many questions, I just need to understand the concept. edit: dotnet publish --os linux --arch x64 -p:PublishProfile=DefaultContainer & npm run build I also used these. I just saw ClientApp as wwwroot inside bin/../publish
2 Replies
İrşat
İrşat10mo ago
still up
Accord
Accord10mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.