Deploying Vapor app to Ubuntu server and using a .env file

Where does the vapor app look for the .env file when it is actually deployed and running in a production environment?

It looks in the directory from where the app is run from

Usually for deployment you don't tend to use .env files and the values are injected in via environment variables using whatever orchestration system you're deploying with