chore: Chromium + puppeteer-core entfernen (~500MB Image-Ersparnis)
This commit is contained in:
@@ -12,10 +12,7 @@ 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++ \
|
||||
chromium nss freetype harfbuzz ca-certificates ttf-freefont
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
|
||||
CHROMIUM_PATH=/usr/bin/chromium-browser
|
||||
RUN apk add --no-cache tzdata python3 make g++
|
||||
WORKDIR /app
|
||||
COPY backend/package.json ./
|
||||
RUN npm install --production
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
|
||||
// Paywall-Killer hat keinen aktiven Backend-Endpoint mehr.
|
||||
// archive.ph blockt Server-seitige Requests (429).
|
||||
// Der komplette Flow läuft im Browser des Users.
|
||||
|
||||
// Paywall-Killer: gesamter Flow läuft im Browser des Users.
|
||||
// Kein aktiver Backend-Endpoint nötig.
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user