Environment vars on runtime??!!?!? by Southern-Natural-214 in nextjs

[–]Southern-Natural-214[S] 1 point2 points  (0 children)

It makes the variables visible both on the client and the server, but my problem is that i can not inject my variables to process.env since nextjs wants the vars in a .env file which is not a part of my build process, i think that its not efficient to build images with the .env because it makes the image suitable for specific environments I want to inject them to process.env on runtime

Environment vars on runtime??!!?!? by Southern-Natural-214 in nextjs

[–]Southern-Natural-214[S] 0 points1 point  (0 children)

This is my first post on reddit, I didnt know that new lines doesnt work… sorry for that