Skip to content

Loading external modules when running in docker #3

@theoephraim

Description

@theoephraim

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions