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:
- Clone the OHIF Viewer repository.
- Navigate to the
Nginx-Orthanc
directory. - Run
docker-compose up --build
. - 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.