# The scheduled panoptiblog job. # # Built from this directory, so the image carries the indexer and its S3 # upload dependency and nothing from the extension. The task definition # supplies PANOPTIBLOG_BUCKET and PANOPTIBLOG_KEY; the AWS SDK reads the task # role's credentials from the standard chain. FROM node:24-alpine WORKDIR /app COPY package.json package-lock.json ./ RUN npm ci --omit=dev COPY . . USER node # --no-cache: the container is fresh on every run, so a DID cache has nowhere # to persist. The walk re-resolves each PDS once, which is a small part of the # run next to reading every repository. CMD ["node", "index.mjs", "--concurrency", "64", "--top", "100", "--compact", "--no-cache", "--out", "/tmp/panoptiblog.json", "--upload", "--all-out", "/tmp/panoptiblog-all.json", "--all-upload"]