chore: sync with Gitea master and restore local-only files
Reset local main to gitea/master (new source of truth) and restored local-only files: web scrapers, admin dashboard, ChromaDB integration, debug scripts, and utility libraries that aren't tracked in Gitea. Gitea master adds: discovermass, buscarmisas-network, hk-parishes, bohosluzby, kerknet, gottesdienstzeiten, miserend importers, ClaimRequest model, forward geocoding, heartbeat healthcheck. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
Dockerfile.scraper
Normal file
21
Dockerfile.scraper
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM node:20-bookworm-slim
|
||||
|
||||
# Install Playwright system dependencies + Chromium
|
||||
RUN apt-get update && \
|
||||
npx playwright install --with-deps chromium && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY prisma ./prisma/
|
||||
RUN npm ci
|
||||
RUN npx prisma generate
|
||||
|
||||
COPY src ./src/
|
||||
COPY scripts ./scripts/
|
||||
COPY tsconfig.json ./
|
||||
|
||||
# Default: run the masstimes scraper
|
||||
CMD ["npx", "tsx", "scripts/scrape-masstimes.ts"]
|
||||
Reference in New Issue
Block a user