Docker Community Forums

Share and learn in the Docker community.

Angular Application Configuration Variables


I have a potencially unique situation.

We have Docker running on prem, and our build process creates a image for a application based on release configuraiton, however this will be run on Stage, Test, Pre-Prod and Live as the company policy is to always have the same image through all environments meaning a build for dev, test , live cannot happen to target each environment.

Our policy states that you may not change the image directly meaning you cannot run something the alters the files after the docker run command.

Is there a way to enforce the from the docker run command the environment variables