fix: bonfire needs uname

fixes revoltchat/self-hosted#104
This commit is contained in:
IAmTomahawkx
2024-12-12 01:58:55 -08:00
parent 49f7f9549c
commit f01794af93

View File

@@ -1,9 +1,11 @@
# Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder
FROM debian:12 AS debian
# Bundle Stage
FROM gcr.io/distroless/cc-debian12:nonroot
COPY --from=builder /home/rust/src/target/release/revolt-bonfire ./
COPY --from=debian /usr/bin/uname /usr/bin/uname
EXPOSE 14703
USER nonroot