Environment variable undefined on the client side – NextJS + docker
My app is running on a VPS, with Docker Compose. I have a .env file in the file's directory, at the same level as the docker-compose.yml. In my docker-compose, I set the environment variables like this: Everything is working fine…