From 18d8c125ea989c1326878f60a91f8076fd5d4bf1 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 4f5f0eb6..1dd5aa26 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 \