diff --git a/Dockerfile.scraper b/Dockerfile.scraper index 79f0b0e..2157687 100644 --- a/Dockerfile.scraper +++ b/Dockerfile.scraper @@ -7,13 +7,14 @@ COPY . . RUN bun install --frozen-lockfile RUN bun build scraper/cli.ts --target=bun --outfile=/tmp/cli.build.js -FROM docker.io/rust:1.67 as rs-build +# nightly porque usamos tl con `simd` activado +FROM ghcr.io/rust-lang/rust:nightly-bookworm-slim as rs-build WORKDIR /usr/src/app COPY scraper-rs/ . RUN cargo install --path . FROM docker.io/oven/bun:1-slim -RUN apt-get update && apt-get install -y extra-runtime-dependencies cron && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y cron && rm -rf /var/lib/apt/lists/* # Scraper COPY --from=build /tmp/cli.build.js /bin/scraper