Fix HTTPS requests not working in the image (#259)

This commit is contained in:
Geometrically
2021-11-14 16:27:33 -07:00
committed by GitHub
parent d1e4e72693
commit 2dd1496ef4
2 changed files with 7 additions and 1 deletions

View File

@@ -24,6 +24,12 @@ RUN cargo build --release
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates
RUN update-ca-certificates
COPY --from=build /usr/src/labrinth/target/release/labrinth /labrinth/labrinth
COPY --from=build /usr/src/labrinth/migrations/* /labrinth/migrations/
COPY --from=build /wait /wait