Snapchat / ModJS

A Javascript Module for KeyDB and Redis
GNU Lesser General Public License v2.1
202 stars 10 forks source link

Loading external modules when running in docker #3

Open theoephraim opened 3 years ago

theoephraim commented 3 years ago

I couldn't quite figure out how to get external modules to load when running the docker image. It says in the docs "Note that require() will search for modules starting from the working directory of Redis or KeyDB"

Thanks so much!

theoephraim commented 3 years ago

On a related note, I also am unable to load other local files in the same directory - ie breaking up my script into a few files and loading something like require('./helpers.js')