I cloned the FCC repo and followed the instructions to get the server running, and this went without incident … but I’d really like to get it running in docker instead of needing mongodb on my local machine. I noticed a docker-compose.yml file, which contained two commands to run, namely these:
# Bootstrap with:
# docker-compose run --rm freecodecamp npm install
# docker-compose run --rm freecodecamp npm run only-once
The first command went off without a hitch, but I had no success with the second. It seems to die when seeding the database:
/****/
Seeding Database
/****/
module.js:549
throw err;
^
Error: Cannot find module '/app/seed/index.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Am I missing some other setup step?