CI und Docker: Build-Werkzeuge für better-sqlite3, CI nur für PRs und main
Some checks failed
Prüfen / pruefen (pull_request) Failing after 2m33s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-10-09 19:03:24 +00:00
parent 07fa837807
commit 391c91d4b0
2 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,8 @@
# ── Build ────────────────────────────────────────────────────────────────────
FROM node:24-slim AS build
WORKDIR /app
# better-sqlite3 wird für Node 24 aus dem Quellcode gebaut
RUN apt-get update && apt-get install -y --no-install-recommends python3 make g++ && rm -rf /var/lib/apt/lists/*
COPY package.json package-lock.json .npmrc ./
RUN npm ci
COPY . .