mirror of
https://codeberg.org/gigirassy/image-proxy/
synced 2026-08-30 23:47:40 +00:00
Update Dockerfile
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
||||
#
|
||||
|
||||
FROM rust:latest as builder
|
||||
|
||||
USER root
|
||||
@@ -8,7 +10,7 @@ WORKDIR /app
|
||||
COPY Cargo.toml .
|
||||
COPY src ./src
|
||||
|
||||
RUN cargo build --release
|
||||
RUN cargo update && cargo build --release
|
||||
|
||||
FROM gcr.io/distroless/cc-debian13:nonroot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user