feat: KöPi - Puppeteer/Chromium für echte Produktangebote
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user