freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
550 stars 151 forks source link

refactor(docker): perform Webpack asset compilation eagerly #4644

Closed cweider closed 2 weeks ago

cweider commented 2 weeks ago

While it is simpler to perform asset compilation with Webpack after the contents of the cl directory are copied, doing this comes at a cost: the layer generated by Webpack is invalidated any time that the contents of cl change. This happens much more frequently than the compiled react.js and its dependencies change.

cweider commented 2 weeks ago

Premature – more rearranging is necessary for the work to not get overwritten by the copy.