Skip to content

gdcollect/using-angular-docker-environment-variables

 
 

Repository files navigation

Using OS Environment Variables in Angular (with Docker)

This is demo, to show you how you can pass configuration through OS Environment Variables to your angular application during build.

To run this demo,

  1. First, clone this repo: git clone https://github.com/coding-latte/using-angular-docker-environment-variables.git

  2. And then, build the docker image: docker build --rm -f "dockerfile" -t angular-docker-environment-variables:latest .

  3. And finally run the image you just built: docker build --rm -f "dockerfile" -t angular-docker-environment-variables:latest .

A follow up post will be posted soon.

About

Using OS Environment Variables in Angular (with Docker)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.7%
  • JavaScript 18.5%
  • HTML 10.1%
  • CSS 0.7%