From 4a4140e4d183b607c0eb9324fad780b1a4978703 Mon Sep 17 00:00:00 2001 From: Levi McDonough Date: Fri, 8 Nov 2024 14:44:04 -0500 Subject: [PATCH] feat: add LABEL stage to Dockerfile for build stage identification --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 023e29a..24ec539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,8 @@ COPY . . # This helps Docker locate the binaries consistently ENV CARGO_TARGET_DIR=/usr/src/app/target/release +LABEL stage="before-build-release" + # Build dependencies and cache them RUN cargo build --release