mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-11-04 19:11:16 +01:00
* feat: convert to playwright Convert crawling to use Playwright instead of Chrome. - Update Dockerfile to include Playwright - Update crawler worker to use Playwright API - Update dependencies * feat: convert from Puppeteer to Playwright for crawling * feat: update docker-compose * use separate browser context for better isolation * skip chrome download in linux script * readd the stealth plugin --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
15 lines
407 B
Docker
15 lines
407 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
ENV PNPM_HOME="/pnpm"
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
|
|
|
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
|
RUN apk add --no-cache libc6-compat make g++ py3-pip linux-headers git
|
|
|
|
RUN corepack enable
|
|
|
|
COPY . .
|
|
ENV NEXT_TELEMETRY_DISABLED 1
|
|
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|