.Net7 + Docker Container

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
rsbr
User
Posts: 3

.Net7 + Docker Container

Post by rsbr »

Hi,
Generating from ASP.NET MAKER 2023.3 with BROWSE afterwards works fine.

But when trying to containerize the app using the guide lines in a YoutTube video (third party) nothing works.

dotnet add package Microsoft.NET.Build.Containers
dotnet publish --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer
docker run -it --rm -p 5500:80 aspnetmaker2023:1.0.0

Did anyone try this? any advice to make this work.

Regards,


MichaelG
User
Posts: 1095

Post by MichaelG »

Have not tried this but you may want to read:
https://learn.microsoft.com/en-us/aspne ... etcore-7.0


Post Reply