From 32faf7e0eaa9cc674c7018777d4e8ab813a5db9b Mon Sep 17 00:00:00 2001 From: mia Date: Thu, 10 Oct 2024 23:06:46 -0700 Subject: [PATCH] [build] Add stage labels to container images --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1ef3ef790..378731f4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ # syntax = docker/dockerfile:1.2 ## Install dev and compilation dependencies, build files FROM alpine:3.20 as build +LABEL stage=build WORKDIR /iceshrimp # Install compilation dependencies @@ -32,6 +33,7 @@ RUN --mount=type=cache,target=/iceshrimp/.yarncache_focused rm -rf .yarncache/* ## Runtime container FROM alpine:3.20 +LABEL stage=runtime WORKDIR /iceshrimp # Install runtime dependencies