We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What if I would install module foo (for example), which would require compiling with something like node-gyp, then with the code like this:
foo
node-gyp
const puppeteer = require('puppeteer'); const foo = require('foo'); ....
and with executing recommended command like this:
$ docker run --shm-size 1G --rm -v <my-application>:/app/index.js alekzonder/puppeteer:latest
My foo module would be used on the environment it wasn't compiled for, correct?
Furthermore, what if my project has a module which has puppeteer in dependencies (i.e. something like this – https://github.com/americanexpress/jest-image-snapshot) my understanding is when you do –
puppeteer
const puppeteer = require('puppeteer'); ...
puppeteer would be loaded of one of submodule, not of the docker one?
If so, what would be the recommended workaround?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What if I would install module
foo
(for example), which would require compiling with something likenode-gyp
, then with the code like this:and with executing recommended command like this:
My
foo
module would be used on the environment it wasn't compiled for, correct?Furthermore, what if my project has a module which has
puppeteer
in dependencies (i.e. something like this – https://github.com/americanexpress/jest-image-snapshot) my understanding is when you do –puppeteer
would be loaded of one of submodule, not of the docker one?If so, what would be the recommended workaround?
The text was updated successfully, but these errors were encountered: