arrow_backBACK TO DRILLS
Black Belt - HardarchitecturePREMIUM
The Config That Moved Without a Rebuild
A team builds one Docker image and promotes it from staging to production by changing only the container's environment variables.
//REACT_MODULE
// lib/config.ts
export const API_URL = process.env.NEXT_PUBLIC_API_URL;
// Same built image is promoted from staging to production
// by changing container env vars at deploy time.What happens to API_URL inside the shipped client bundle?