mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-05-30 20:23:51 +00:00
a656a18ce8
Node.js 20+ ESM port mirroring Java/Go implementations. - 13 Telegram commands matching Java identifiers - MongoDB schema parity (common, group, apple_app, google_app collections) - Apple/Google scrapers calling store-scraper.vercel.app with 10-min cache - Daily 7am Vietnam-time cron with weekend-silent mode - HTML table renderer matching Java/Go output - Docker + Compose (prod and dev) Untested end-to-end against live Telegram or upstream API.
14 lines
222 B
Docker
14 lines
222 B
Docker
FROM node:20-alpine
|
|
|
|
RUN apk --no-cache add tzdata ca-certificates
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
RUN npm install --omit=dev
|
|
|
|
COPY src ./src
|
|
|
|
# Bot uses long polling — no ports exposed.
|
|
CMD ["node", "src/index.js"]
|