Next.js Discord

Discord Forum

Using ENV as runtime on docker image

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
How to use Next js env as runtime env on dokcer

2 Replies

@Polar bear How to use Next js env as runtime env on dokcer
You can use only serverside env vairables as runtime variables, when the page will be rendered dynamically. Of course you can pass the serverside env variables (runtime variables) to the client to make them also be able to use them as runtime on the clientside
@Polar bear solved?