Skip to content

Commit 4a4140e

Browse files
committed
feat: add LABEL stage to Dockerfile for build stage identification
1 parent 6a2a33c commit 4a4140e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ COPY . .
3232
# This helps Docker locate the binaries consistently
3333
ENV CARGO_TARGET_DIR=/usr/src/app/target/release
3434

35+
LABEL stage="before-build-release"
36+
3537
# Build dependencies and cache them
3638
RUN cargo build --release
3739

0 commit comments

Comments
 (0)