Next.js inlines NEXT_PUBLIC_* vars at build time. They must be available as ARGs during the Docker build, not just as runtime environment variables.
Next.js inlines NEXT_PUBLIC_* vars at build time. They must be available as ARGs during the Docker build, not just as runtime environment variables.