cli
cli copied to clipboard
[BUG] Running command in workspace context doesn't work in docker environment
Current Behavior:
When running an npm script in a workspace context in a docker container, the script from the parent context is executed.
Expected Behavior:
When running an npm script in a workspace context in a docker container, the script from the workspace context is executed.
Steps To Reproduce:
Please see my reproduction repo https://github.com/oliviernt/npm-workspaces-bug-reproduction
Environment:
- OS: Ubuntu 20.10
- Node: 15.5.1
- npm: 7.7.5
- docker: 19.03.8
- docker image: node:15.12.0
Appears to be fixed with node @15.14.0 and [email protected]