From fc66ba009c2edca923314683af95078a15cc6a18 Mon Sep 17 00:00:00 2001 From: red binder Date: Sat, 6 Jun 2026 14:45:20 +0200 Subject: [PATCH] add SSL --- .dockerignore | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..534f3d9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.env.example \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b518a60..8275181 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file