Skip to content

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

@MakersAll8

Description

@MakersAll8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions