From 1b092460d31e9a8afc3461cbb0e45702168d7753 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Tue, 10 Dec 2024 18:30:33 -0500 Subject: [PATCH] Bookworm --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index e864549..bd5d3bc 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,11 +1,11 @@ -FROM rust:latest AS builder +FROM rust:slim-bookworm AS builder COPY ./Cargo.toml ./Cargo.lock ./ RUN cargo fetch COPY ./src ./src RUN cargo build --release -FROM debian:bookworm +FROM debian:bookworm-slim RUN apt-get update && apt-get install -y libc6 COPY --from=builder target/release/backend /usr/local/bin/backend