fix(docker): node-addon-api + ignore-scripts/rebuild fuer sharp
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 51s
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 51s
Drei Schichten Absicherung gegen den arm64-Build-Fehler: - --ignore-scripts beim npm install verhindert, dass sharp's postinstall check.js laeuft, bevor das @img/sharp-linuxmusl-arm64-Paket entpackt ist (Race in parallelem Install). - npm rebuild danach: alle Deps sind jetzt auf Disk, Postinstalls laufen sauber in Dependency-Reihenfolge. - node-addon-api als Runtime-Dep: falls die Prebuilt-Binary im npm-Tree nicht landet, kann sharp from-source bauen (vips-dev + python3 + make + g++ sind im Dockerfile bereits installiert). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
"better-sqlite3": "^11.5.0",
|
||||
"linkedom": "^0.18.5",
|
||||
"lucide-svelte": "^1.0.1",
|
||||
"node-addon-api": "^8.7.0",
|
||||
"yauzl": "^3.3.0",
|
||||
"zod": "^3.23.8"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user