I have an Angular 7 web app which is deployed through Microsoft's Team Foundation Server using a multi-stage Docker build to be served by NGINX.
The problem is I would like to use some form of environment variable passed to the image during the TFS release definition which the app would use as it's version number to be displayed in the browser.
I know runtime environment variables are not supported by Angular, and I created a workaround for environment specific API routes using a JSON config file but this will not work in conjunction with TFS for this purpose.
Any and all suggestions are appreciated.