diff --git a/Dockerfile b/Dockerfile index a848ecb..e8e72b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:bullseye as builder +FROM rust:bookworm as builder RUN mkdir /app WORKDIR /app @@ -9,7 +9,7 @@ COPY src /app/src COPY templates /app/templates RUN cargo build --release -FROM gcr.io/distroless/cc:latest +FROM gcr.io/distroless/cc-debian12:latest WORKDIR /app COPY --from=builder /app/target/release/paste-frontend /app/paste-frontend ADD templates /app/templates