If you get this problem `docker123-server-1 | Error: Cannot find module '/src/index.js'` You can fix this in /_Dockerfile_ and write the next: `WORKDIR /` . . . `# Run the application.` `CMD node /src/index.js` <-- varies depending on your folders.
If you get this problem
docker123-server-1 | Error: Cannot find module '/src/index.js'You can fix this in /Dockerfile and write the next:
WORKDIR /.
.
.
# Run the application.CMD node /src/index.js<-- varies depending on your folders.