You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
Specifically within the docker image, which directory is that?
Should I map a folder of node_modules with my modules in it to that location? or the module (ex: lodash) folder itself?
Thanks so much!
The text was updated successfully, but these errors were encountered:
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')
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!
The text was updated successfully, but these errors were encountered: