How does GAE (Google App Engine) treat NODE_ENV on deployment and run with a NodeJS runtime?
Google docs clearly states that some variables are automatically set and cannot overridden except the `NODE_ENV. How do you do that?
I have tried setting it in app.yaml and even though it is shown as properly set in the GAE console it is not reflected in the app.
I have tried using non-standard value in the app.yaml such as NODE_ENV: foobar and the build process does recognize it but the value that the application reads is always production.
warn - You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env