Skip to content

Value of environment variables #2

Open
@gbarroslimajr

Description

@gbarroslimajr

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?

Activity

mainawycliffe

mainawycliffe commented on Sep 26, 2019

@mainawycliffe
Member

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

mehmetmuejde

mehmetmuejde commented on Sep 28, 2019

@mehmetmuejde

My environment variables are not defined at runtime.

mbagiella

mbagiella commented on Feb 20, 2022

@mbagiella

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mbagiella@gbarroslimajr@mainawycliffe@mehmetmuejde

        Issue actions

          Value of environment variables · Issue #2 · coding-latte/using-angular-docker-environment-variables