yinxin630 / fiora

An interesting open source chat application. Developed with node.js, mongoDB, socket.io and react
https://fiora.suisuijiang.com
MIT License
6.68k stars 1.33k forks source link

Error: Cannot find module '../bin/doctor' #308

Closed delsinz closed 3 years ago

delsinz commented 3 years ago

Threw this error when I tried to run the project with docker.

delsinz commented 3 years ago

It seems bin folder is not copied in dockerfile

yinxin630 commented 3 years ago

Are you running this image? https://hub.docker.com/r/suisuijiang/fiora Or build it yourself?

delsinz commented 3 years ago

Are you running this image? https://hub.docker.com/r/suisuijiang/fiora Or build it yourself?

Tried both pulling the image from dockerhub and building the image myself.

delsinz commented 3 years ago

Screen Shot 2021-02-09 at 11 51 28 Clearly the bin folder is not copied. It worked flawlessly after I changed the dockerfile to copying everything in the root directory.