Files
sofarr/docker-compose.yaml
Gronod 49327cf9ae
Some checks failed
Build and Push Docker Image / build (push) Failing after 42s
CI / Security audit (push) Has been cancelled
fix(docker): switch alpine to node:22-slim for pre-built better-sqlite3
Alpine uses musl libc; better-sqlite3 has no pre-built musl binaries so
it always compiles from source (installs 300 MB of gcc/g++/python3,
takes 3-5 min). node:22-slim (Debian) has glibc so prebuild-install
downloads a pre-built binary instead — build stays under 1 minute.

Changes:
- Both stages: node:22-alpine -> node:22-slim
- deps stage: remove apk/build-tool installation (not needed)
- runtime stage: remove apk libstdc++ install (present in debian-slim)
- HEALTHCHECK: wget -> node built-in http (wget absent from debian-slim)
- docker-compose.yaml: same healthcheck fix
2026-05-17 07:10:41 +01:00

2.0 KiB