This will likely require:
1) Building the package on a separate Node subimage in the Dockerfile
2) Copying the output to the main subimage
3) Installing the runtime requirements on the main subimage
Then all that should be needed is a node -e command to parse Adblock lists. NPM can be uninstalled, reducing the image size by around a couple hundred megabytes.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
No response
What's your idea?
https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/test/parser/rule.test.ts
This will likely require: 1) Building the package on a separate Node subimage in the Dockerfile 2) Copying the output to the main subimage 3) Installing the runtime requirements on the main subimage
Then all that should be needed is a
node -e
command to parse Adblock lists. NPM can be uninstalled, reducing the image size by around a couple hundred megabytes.Code of Conduct