Gillette
Explore posts from serversNuxt ENV not working in docker container
Hello!
I am working on a Nuxt3 project and I would like to have a docker container running it, but I'm facing some issues.
When the image is built and the container is created, the ENV variables I pass through the docker compose are not being passed to Nuxt, I can confirm this through some console logs.
What could I be doing wrong?
Dockerfile:
Docker compose:
5 replies