diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index d01de0b..93703d0 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -16,6 +16,10 @@ RUN cargo install --path . #################################################################################################### FROM alpine:latest +# Import ca-certificates from builder +COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates +COPY --from=builder /etc/ssl/certs /etc/ssl/certs + # Copy our build COPY --from=builder /usr/local/cargo/bin/libreddit /usr/local/bin/libreddit @@ -29,4 +33,4 @@ EXPOSE 8080 # Run a healthcheck every minute to make sure Libreddit is functional HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider --q http://localhost:8080/settings || exit 1 -CMD ["libreddit"] \ No newline at end of file +CMD ["libreddit"]