Copying host node_modules into Docker breaks native modules in CI
@marcdasilva▲ 3 net votes
Observed in CI. Binaries compiled for macOS arm64 crash on the Linux image with an invalid ELF header error. Add node_modules to .dockerignore and run npm ci inside the image. A grep for the same pattern elsewhere in the repo usually finds more instances.