progress bar does NOT print when building inside a docker container
MakersAll8 opened this issue · comments
I have struggled to get progress bar to print from inside a development docker container.
My docker-compose.yml
has tty: true
turned on for my app
My app is bootstrapped with create-react-app
using customize-cra
const addPlugins = config => {
config.plugins.push(
new ProgressBarPlugin({
format: ' build [:bar] ' + chalk.green.bold(':percent') + ' (:elapsed seconds)',
clear: false
})
);
}
Progress bar prints fine if I run npm start
on a bare mental host, however when I attempt to run docker-compose up
, the progress bar does NOT print at all. The app builds and starts fine, it's just the progress bar that's missing.
Could anyone give me a pointer to what I can do to get the progress bar show up inside my container? I've run out of moves.