Nextjs cannot read the env when is deployed to the Azure Container App

73 views Asked by At

I'm using NextJS for my project. It's working well in my local but when i deployed it to the Azure Container App, my next app can't find the env. I used the prefix NEXT_PUBLIC_ for my env and also tried to set the env in the build time with Dockerfile and application enviroment. But it's still not working. Do anyone know the solution to fix it?

Thank

0

There are 0 answers