Docker Build Failure During OHIF Viewer Compilation

hello,

While attempting to build the OHIF Viewer using Docker with the command docker-compose up --build, the process fails during the RUN yarn run build step. The build appears to hang and then eventually fails after significant progress, particularly during the webpack compilation phase.

Steps to Reproduce:

  1. Clone the OHIF Viewer repository.
  2. Navigate to the Nginx-Orthanc directory.
  3. Run docker-compose up --build.
  4. The build process initiates but fails during the webpack build step.

output that I get:
[+] Building 496.7s (17/18) docker:desktop-linux
=> [ohif_viewer internal] load build definition from dockerfile …
=> WARN: FromAsCasing: ‘as’ and ‘FROM’ keywords’ casing d …
=> [ohif_viewer builder 8/8] RUN yarn run build …

[ohif_viewer builder 8/8] RUN yarn run build:
$ lerna run build:viewer --stream
$ cross-env NODE_ENV=production yarn run build
$ node --max_old_space_size=8096 ./…/…/node_modules/webpack/bin/webpack.js --progress --config .webpack/webpack.pwa.js
<webpack.Progress> …

the expected behaviour : the build process should complete successfully without hanging or failing.

I just run it and it works fine

Not sure what is the issue, maybe you are not on the latest?