mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
fix: match Debian releases for build closes #297 Co-authored-by: MaticPoh <85814976+MaticPoh@users.noreply.github.com>
11 lines
239 B
Docker
11 lines
239 B
Docker
# Build Stage
|
|
FROM ghcr.io/revoltchat/base:latest AS builder
|
|
|
|
# Bundle Stage
|
|
FROM gcr.io/distroless/cc-debian12:nonroot
|
|
COPY --from=builder /home/rust/src/target/release/revolt-bonfire ./
|
|
|
|
EXPOSE 9000
|
|
USER nonroot
|
|
CMD ["./revolt-bonfire"]
|