In this video I show you to run a .Net Blazor Web Assembly application inside of docker. I go over how to set up the dockerfile, and how to server the site using nginx.
I also show how to correctly serve up the correct appsettings.json file depending on which environment you are building for.
#docker #programming #code
Blazor docs for setting the Environment using javascript:
https://learn.microsoft.com/en-us/asp...
Docs page on the different methods for setting the Environment:
https://learn.microsoft.com/en-us/asp...
Docs on sed, a stream editor:
https://www.gnu.org/software/sed/manu...
Follow me on social media!
Twitter: / scriptbytesio
Instagram: / scriptbytes
Watch video Run Blazor Web Assembly in Docker! online without registration, duration hours minute second in high quality. This video was added by user ScriptBytes 13 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,896 once and liked it 217 people.