When I start my container, the page starts without styles, scripts, images and other static files - calls to load them return 404.
I would like to say that when I access the app folder, the wwwroot folder exists.
I tested it in my Release folder (with dotnet command). But in Docker it does not work. Yes, I'm using UseStaticFiles in my Startup class.
My Dockerfile is simple, it just runs the app. But I previously built and published the app, and the wwwroot is there.
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
WORKDIR /app
EXPOSE 80
EXPOSE 443
COPY bin/Release app/
ENTRYPOINT ["dotnet", "app/MyApp.SGC.Site.dll"]

The application runs, but there are many erros:

Can someone help me?