From 4419650eee3be94d628d5e922140f436e6951fb8 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Tue, 10 Dec 2024 18:52:29 -0500 Subject: [PATCH] Non slim --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index d18f8a9..7d0b99a 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:slim-bookworm AS builder +FROM rust:latest AS builder COPY ./Cargo.toml ./Cargo.lock ./ RUN cargo fetch @@ -8,7 +8,7 @@ RUN rustup target add x86_64-unknown-linux-musl RUN apt-get update && apt-get install -y musl-tools RUN cargo build --release --target x86_64-unknown-linux-musl -FROM debian:bookworm-slim +FROM debian:bookworm RUN apt-get update && apt-get install -y libc6 COPY --from=builder target/x86_64-unknown-linux-musl/release/backend /usr/local/bin/backend