add Google News integration and enhance crawler capabilities
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
FROM node:22-bookworm-slim
|
||||
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
chromium \
|
||||
fonts-liberation \
|
||||
libasound2 \
|
||||
libatk-bridge2.0-0 \
|
||||
libatk1.0-0 \
|
||||
libcups2 \
|
||||
libdbus-1-3 \
|
||||
libdrm2 \
|
||||
libgbm1 \
|
||||
libgtk-3-0 \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libx11-xcb1 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxfixes3 \
|
||||
libxrandr2 \
|
||||
libxshmfence1 \
|
||||
xdg-utils \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY package.json package-lock.json /tmp/playwright-install/
|
||||
RUN cd /tmp/playwright-install \
|
||||
&& npm ci --omit=dev \
|
||||
&& npx playwright install chromium \
|
||||
&& rm -rf /tmp/playwright-install
|
||||
Reference in New Issue
Block a user