
Vite build-time environment variables in Docker and why ARG is unnecessary
Vite embeds import.meta.env variables at build time instead of reading them at runtime. In Docker, this works through the build context, not ARG/ENV. A common mistake with a surprisingly simple solution.




