Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 552 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 552 Bytes

Transitive Docker Dependencies with rules_js

Reproduction

Requirements

  • Node.js
  • pnpm (npm install -g pnpm)
  • Bazelisk (npm install -g @bazel/bazelisk)

Setup

  • pnpm i (Install Node dependencies)

Works fine

  • bazelisk run //:bin (Run app)

Transitive dependencies are not passed on to container

  • bazelisk run //:image && docker run --rm -it bazel:image (Run Docker container)

    Error: Cannot find module '@org/lib2'
    Error: Cannot find module '@faker-js/faker'