enable sparse bundle

This commit is contained in:
2023-05-26 00:21:50 +02:00
parent 063d073c27
commit f8223dfc62
4 changed files with 4 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ FROM rust:1.69-alpine as backend
WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk
COPY ./packages/backend/Cargo.* ./
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
RUN cargo fetch
COPY ./packages/backend ./
RUN cargo build --release