.env.local.production [top] Jun 2026
NEXT_PUBLIC_API_URL=https://api.myapp.com # This is the default production URL
vercel env add API_KEY production
NODE_ENV=production npm run build
This file is interpreted as:
: This file should never be committed to Git (it is usually added to .gitignore ). It is intended to hold sensitive secrets like production database credentials or API keys that are unique to a particular deployment instance. .env.local.production