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 ──────────────────
|
# ── Stage 2: Express liefert API + React in einem Container ──────────────────
|
||||||
FROM node:20-alpine
|
FROM node:20-alpine
|
||||||
RUN apk add --no-cache tzdata python3 make g++ \
|
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
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY backend/package.json ./
|
COPY backend/package.json ./
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
const express = require('express');
|
const express = require('express');
|
||||||
const router = express.Router();
|
const router = express.Router();
|
||||||
|
// Paywall-Killer: gesamter Flow läuft im Browser des Users.
|
||||||
// Paywall-Killer hat keinen aktiven Backend-Endpoint mehr.
|
// Kein aktiver Backend-Endpoint nötig.
|
||||||
// archive.ph blockt Server-seitige Requests (429).
|
|
||||||
// Der komplette Flow läuft im Browser des Users.
|
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
|||||||
Reference in New Issue
Block a user