PathwayCommons / factoid

A project to capture biological pathway data from academic papers
https://biofactoid.org
MIT License
27 stars 7 forks source link

Docker: Enable run-time environmental variables to be picked up by client-side #1270

Closed jvwong closed 1 month ago

jvwong commented 1 month ago

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 //TODO

jvwong commented 1 month ago

whoops wrong remote.