The command for build docker image docker build -t roboticsmicrofarms/plant-3d-explorer:2.1 . can't run properly until the end since the npm test and npm startdon't work either.
The process stops at step 14/18, displaying this message error :
Step 14/18 : RUN cd plant-3d-explorer && npm install
---> Running in 1ac7d0016e91
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /myapp/plant-3d-explorer/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/myapp/plant-3d-explorer/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/myuser/.npm/_logs/2022-03-08T10_10_56_283Z-debug-0.log
The command '/bin/bash -c cd plant-3d-explorer && npm install' returned a non-zero code: 254
The command for build docker image
docker build -t roboticsmicrofarms/plant-3d-explorer:2.1 .
can't run properly until the end since thenpm test
andnpm start
don't work either.The process stops at step 14/18, displaying this message error :