From f5283d874616271c70af36cf47d6737230893ac7 Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Wed, 13 Sep 2023 09:02:23 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f5f0eb..1dd5aa2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM lukemathwalker/cargo-chef:latest-rust-1.59.0 as chef +FROM lukemathwalker/cargo-chef:latest-rust-1.72.0 as chef WORKDIR /app RUN apt update && apt install lld clang -y @@ -16,7 +16,7 @@ ENV SQLX_OFFLINE true # Build our project RUN cargo build --release --bin zero2prod -FROM debian:bullseye-slim AS runtime +FROM debian:bookworm-slim AS runtime WORKDIR /app RUN apt-get update -y \ && apt-get install -y --no-install-recommends openssl ca-certificates \