From 291d84dfd0820e41d64c83e10bc91ab448898278 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Thu, 26 Dec 2024 19:05:33 +0200 Subject: [PATCH] update Dockerfile --- scrapper/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scrapper/docker/Dockerfile b/scrapper/docker/Dockerfile index 16050ba..fb55fb5 100644 --- a/scrapper/docker/Dockerfile +++ b/scrapper/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.83.0-bookworm as planner +FROM rust:1.83.0-bookworm AS planner RUN cargo install cargo-chef WORKDIR /app @@ -21,6 +21,8 @@ RUN cargo chef cook --recipe-path recipe.json # Build the whole project COPY . . RUN cargo build --profile release + +# Run the project FROM rust:1.83.0-bookworm AS runner WORKDIR /app