Fix certificate error on ARM #193

This commit is contained in:
Spike 2021-04-15 04:50:03 +00:00 committed by GitHub
parent 5c2e134924
commit 46e22cf74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,10 @@ RUN cargo install --path .
#################################################################################################### ####################################################################################################
FROM alpine:latest 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 our build
COPY --from=builder /usr/local/cargo/bin/libreddit /usr/local/bin/libreddit COPY --from=builder /usr/local/cargo/bin/libreddit /usr/local/bin/libreddit