Dockerfile: python3 + make + g++ für better-sqlite3 Build

This commit is contained in:
2026-05-29 23:49:56 +02:00
parent 2d2178b172
commit f4f1889dce

View File

@@ -8,7 +8,7 @@ RUN npm run build
# ── Stage 2: Express liefert API + React in einem Container ────────────────── # ── Stage 2: Express liefert API + React in einem Container ──────────────────
FROM node:20-alpine FROM node:20-alpine
RUN apk add --no-cache tzdata RUN apk add --no-cache tzdata python3 make g++
WORKDIR /app WORKDIR /app
COPY backend/package.json ./ COPY backend/package.json ./
RUN npm install --production RUN npm install --production