I have a dependency in the package.json file for a node.js app deployed using a Dockerfile that itself calls `RUN npm install`. The dependency is expressed in the following form in package.json:
"dependencies": {
This has worked fine for years. It still works, but I'm finding that recently that the docker build process hangs for a looong time (around 10 mins) on the `RUN npm install` step. In the past it was maybe a few seconds... not really sure but never enough to notice particularly.
The bitbucket repo dependency is the only dependency, so it must relate to that? When I view the server stats, it seems like nothing is really going on... CPU and network activity flatlining... so it seems like it is just waiting.
Any ideas why it's taking so long recently?
G'day, @meteograms
It's hard to say without viewing your build to understand the issue. So I suggest try to reproduce them locally following the guide here and see if it's showing the same behavior.
Let me know the results.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.