Golang Error loading .env file

I have already setup env(s) manually but it fails to load and also no port is detected. its working locally but not in production

Could you help me here?

==> No open ports detected, continuing to scan...
==> Docs on specifying a port: https://render.com/docs/web-services#port-binding
==> Running './app'
2025/03/05 10:35:47 Error loading .env file
==> Exited with status 1
==> Common ways to troubleshoot your deploy: https://render.com/docs/troubleshooting-deploys
==> Running './app'
2025/03/05 10:36:15 Error loading .env file

As you mentioned about failing to load and not being able to detect port after setup. I would recommend you follow the easy and perfect steps for the setup of Golang on Ubuntu or Debian. Do go through the blogs of DedicatedCore which explains with steps in detail.