I am currently working for bachelor thesis on a web app together with
CodePudding user response:
I am most certain the issue is caused by the line:
rm -rf package-lock.json &&
Remove that and rebuild your image.
The lock file will help keep node_modules the project relies upon at their desired versions (I.e it helps keep identical trees of dependencies everywhere)