From eb2f04695c79bda80c6b81d98c88149d62118241 Mon Sep 17 00:00:00 2001 From: Nulo <86896666+catdevnull@users.noreply.github.com> Date: Thu, 11 Jan 2024 20:56:51 +0000 Subject: [PATCH] wip: arreglar dockerfile.scraper --- Dockerfile.scraper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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