fix(scraper): replace glibc binary with npm single-file-cli on node:22-alpine

The pre-compiled single-file binary requires glibc symbols (__res_init)
that Alpine's gcompat shim does not provide, causing exit status 127.
Switch runtime base to node:22-alpine and install single-file-cli via npm.
Also add .dockerignore to exclude bin/ and static/ from build context.
This commit is contained in:
Admin
2026-03-04 12:54:51 +05:00
parent 555973c053
commit 5a7751e6d1
2 changed files with 16 additions and 18 deletions

4
scraper/.dockerignore Normal file
View File

@@ -0,0 +1,4 @@
bin/
static/
*.md
.git