add SSL
All checks were successful
Build and Test / account (push) Successful in 6m49s

This commit is contained in:
red binder 2026-06-06 14:45:20 +02:00
commit fc66ba009c
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM rust:alpine AS chef
RUN apk add --no-cache musl-dev lld g++ make perl openssl-dev openssl-libs-static protobuf-dev
RUN apk add --no-cache musl-dev lld g++ make perl openssl-dev openssl-libs-static protobuf-dev ca-certificates
RUN cargo install cargo-chef
WORKDIR /app
@ -27,6 +27,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
FROM scratch AS final
WORKDIR /
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/dist/account /account
COPY --from=builder /app/res /res
ENTRYPOINT ["/account"]