Skip to content
Using OS Environment Variables in Angular (with Docker)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker/.config
e2e
src
.editorconfig
.gitignore
README.md
angular.json
custom-webpack.config.js
dockerfile
package-lock.json
package.json
tsconfig.json
tslint.json
yarn.lock

README.md

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 .

You can learn more about this here

You can’t perform that action at this time.