Add CI/CD: multi-arch Docker build workflow

This commit is contained in:
Helios Agent 2026-03-28 13:48:39 +01:00
parent 8f3615c5cf
commit 863c14120a
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
2 changed files with 54 additions and 0 deletions

21
Dockerfile Normal file
View file

@ -0,0 +1,21 @@
# Build stage
FROM rust:1.82-alpine AS builder
RUN apk add --no-cache musl-dev
WORKDIR /app
COPY . .
RUN cargo build --release --bin helios-remote-relay
# Runtime stage
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY --from=builder /app/target/release/helios-remote-relay .
EXPOSE 8080
CMD ["./helios-remote-relay"]