mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 06:36:06 +09:00
[build] Add stage labels to container images
This commit is contained in:
parent
1e60ed665d
commit
32faf7e0ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user