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
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:
parent
07fa837807
commit
391c91d4b0
2 changed files with 9 additions and 2 deletions
|
|
@ -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 . .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue