feat: KöPi - Puppeteer/Chromium für echte Produktangebote

This commit is contained in:
2026-07-08 12:58:15 +02:00
parent 8324e0e3fe
commit ec872eb76d
3 changed files with 126 additions and 150 deletions

View File

@@ -14,7 +14,10 @@ RUN npm run build
# ── Stage 2: Express liefert API + React in einem Container ──────────────────
FROM node:20-alpine
RUN apk add --no-cache tzdata python3 make g++
# Puppeteer/Chromium für KöPi Web-Scraping
RUN apk add --no-cache tzdata python3 make g++ chromium nss freetype harfbuzz ca-certificates ttf-freefont
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
# Zeitzone fest auf Europe/Berlin setzen, damit Server und Browser (DE) immer
# dieselbe lokale Zeit berechnen inkl. automatischer Sommer-/Winterzeit-Umstellung
ENV TZ=Europe/Berlin