Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress bar does NOT print when building inside a docker container #40

Open
MakersAll8 opened this issue Jan 29, 2022 · 0 comments
Open

Comments

@MakersAll8
Copy link

MakersAll8 commented Jan 29, 2022

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.

image
I've checked that enabled evaluates to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant