diff --git a/docker/production.dockerfile b/docker/production.dockerfile index 6122479..0d69d5b 100644 --- a/docker/production.dockerfile +++ b/docker/production.dockerfile @@ -1,5 +1,9 @@ FROM rust:bullseye AS builder +RUN apt-get update \ + && apt-get install -y cmake \ + && rm -rf /var/lib/apt/lists/* + WORKDIR /app COPY . . @@ -10,7 +14,7 @@ RUN cargo build --release --bin batch_downloader FROM debian:bullseye-slim RUN apt-get update \ - && apt-get install -y openssl ca-certificates curl jq cmake \ + && apt-get install -y openssl ca-certificates curl jq \ && rm -rf /var/lib/apt/lists/* RUN update-ca-certificates