I created a .env.local like this
.env.local
NEXT_PUBLIC_FIREBASE_API_KEY=xx-xx NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=xx.xx.com