Upgrade to debian 12 images
All checks were successful
/ Building (push) Successful in 3m12s

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-10-10 18:57:40 +05:30
parent 39017a6215
commit 38567f47a8
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -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