Skip to content

Passing environment variable to React app #36

@sfali

Description

@sfali

Hi There,

Is there way to pass environment variables to React app? In our application we need to pass an environment variable to React app. Usually in React app the environment variable must prefix REACT_APP_, but passing variable at run time doesn't work.
There is option to have environment specific files but then you need different Docker image for each application.

Any solution to this your mind?

Regards,

Syed

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

    Issue actions