@Marcos Vinicius dos Santos , Apologies for the delay and any inconvenience with this! I completely understand this issue could be frustrating.
If you haven't tried this already, kindly add the code in Stack setting >> as Startup command "apt-get update && apt-get install -y apt-utils libgdiplus libc6-dev && dotnet yourwebappname.dll"
You may checkout this document for more details on adding a startup script for Linux WebApp.
If the issue still persist, to isolate, could you please check if this works locally in a Linux docker container and code issue (for cross platform version). Please check the approach outlined in this blog and see if it helps.
Just as a side-note, this post contains a third-party site for your reference & convenience to you only.
Kindly let us know if this helps or you need further assistance on this issue we will be more than happy to assist you.