Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
39017a6215
commit
38567f47a8
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM rust:bullseye as builder
|
FROM rust:bookworm as builder
|
||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -9,7 +9,7 @@ COPY src /app/src
|
||||||
COPY templates /app/templates
|
COPY templates /app/templates
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM gcr.io/distroless/cc:latest
|
FROM gcr.io/distroless/cc-debian12:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/target/release/paste-frontend /app/paste-frontend
|
COPY --from=builder /app/target/release/paste-frontend /app/paste-frontend
|
||||||
ADD templates /app/templates
|
ADD templates /app/templates
|
||||||
|
|
Loading…
Reference in a new issue