If we build the client-side assets (i.e. static assets like JS) at Docker image build time, then we currently cannot successfully apply environemental variables (e.g. PC_URL) on the client at container run-time. In effect, they are hard-coded.
Enable environmental variables to be applied in the Docker container and applied at run-time on the client.
If we build the client-side assets (i.e. static assets like JS) at Docker image build time, then we currently cannot successfully apply environemental variables (e.g. PC_URL) on the client at container run-time. In effect, they are hard-coded.
Enable environmental variables to be applied in the Docker container and applied at run-time on the client.
See https://github.com/PathwayCommons/app-ui/pull/1448/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557