Your config-overrides.js is dead if Docker runs react-scripts
config-overrides.js held thread-loader, cache-loader and HardSourceWebpackPlugin, but Docker ran plain react-scripts build. A one-line canary proves it loads.
/4 min read / reactwebpackdockerdebugging