diff --git a/scraper/Containerfile b/scraper/Containerfile index fdf5d4d..8fbf68e 100644 --- a/scraper/Containerfile +++ b/scraper/Containerfile @@ -9,8 +9,8 @@ RUN bun install --frozen-lockfile \ && rm -rf node_modules/ FROM base -RUN apk add --no-cache wget zstd cronie tini -RUN printf "#!/bin/sh\nexec bun /bin/scraper auto" > /etc/periodic/daily/scraper \ +RUN apk add --no-cache wget zstd tini +RUN printf "#!/bin/sh\nexec bun /bin/scraper auto\n" > /etc/periodic/daily/scraper \ && chmod +x /etc/periodic/daily/scraper COPY --from=builder /tmp/cli.build.js /bin/scraper @@ -23,5 +23,5 @@ ENV NODE_ENV=production ENV DB_PATH=/db/db.db ENV LISTS_DIR=/listas/ -CMD ["tini", "/usr/sbin/crond", "-n"] +CMD ["tini", "/bin/busybox", "crond", "-f", "-l2"] # CMD ["bun", "/bin/scraper"] \ No newline at end of file