Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of environment variables #2

Open
gbarroslimajr opened this issue Sep 25, 2019 · 3 comments
Open

Value of environment variables #2

gbarroslimajr opened this issue Sep 25, 2019 · 3 comments

Comments

@gbarroslimajr
Copy link

When I run the command:

docker run --name angdock --env ENVIRONMENT = production --env SomeAPIKey = "31356464" --env SomeOtherAPIKey = "sdfsafa" -d -P angular-docker-environment-variables

the variables are not updated in the angular, did I do something wrong?

@mainawycliffe
Copy link
Member

can you share your angular.json config and custom-webpack.config.js file, please

@mmuejde
Copy link

mmuejde commented Sep 28, 2019

My environment variables are not defined at runtime.

@mbagiella
Copy link

I have the same issue.

ReferenceError: $ENV is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants