DEV Community

Name Hidden
Name Hidden

Posted on

Environment variables not available in production

I want build my vite project in docker container.

In docker file I set all environment variables and after that I run

npm run build

But I see, that environment variables are not available. How can I handle this problem?

Top comments (0)