Update Dockerfile

This commit is contained in:
gigirassy
2026-05-28 02:14:38 +02:00
parent 4870ce7f8d
commit 74a49de147
+3 -1
View File
@@ -1,3 +1,5 @@
#
FROM rust:latest as builder FROM rust:latest as builder
USER root USER root
@@ -8,7 +10,7 @@ WORKDIR /app
COPY Cargo.toml . COPY Cargo.toml .
COPY src ./src COPY src ./src
RUN cargo build --release RUN cargo update && cargo build --release
FROM gcr.io/distroless/cc-debian13:nonroot FROM gcr.io/distroless/cc-debian13:nonroot