mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 14:16:19 +00:00
???
This commit is contained in:
parent
8bc6343639
commit
5c9b6d16c8
1 changed files with 2 additions and 3 deletions
|
@ -7,8 +7,7 @@ COPY . .
|
|||
RUN bun install --frozen-lockfile
|
||||
RUN bun build scraper/cli.ts --target=bun --outfile=/tmp/cli.build.js
|
||||
|
||||
FROM cgr.dev/chainguard/wolfi-base
|
||||
RUN apk add --no-cache bun
|
||||
FROM base
|
||||
|
||||
# Scraper
|
||||
COPY --from=build /tmp/cli.build.js /bin/scraper
|
||||
|
@ -21,4 +20,4 @@ ENV DB_PATH=/db/db.db
|
|||
RUN printf "#!/bin/sh\nexec bun /bin/scraper auto\n" > /etc/periodic/daily/scraper \
|
||||
&& chmod +x /etc/periodic/daily/scraper
|
||||
|
||||
CMD ["busybox","crond","-f", "-l2"]
|
||||
CMD ["busybox", "crond", "-f", "-l2"]
|
Loading…
Reference in a new issue