Next.js Discord

Discord Forum

Access environment variables at run-time

Unanswered
Gouty oak gall posted this in #help-forum
Open in Discord
Gouty oak gallOP
Our current deployment pipelines builds docker images and deploys them when needed. These images are passed environment variables so that, at run-time, they can load proper configuratoins and states.

How can these environment variables be used if the build process replaces the variables with literal values?

0 Replies