Use sparse cargo registry
This commit is contained in:
parent
b3bd3b2997
commit
3faa422b90
1 changed files with 2 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
|||
FROM rust:1 as builder
|
||||
FROM rust:1.68 as builder
|
||||
ARG OPENAI_KEY
|
||||
RUN apt-get update && apt-get --no-install-recommends install -y libopus-dev
|
||||
WORKDIR /usr/src/myapp
|
||||
COPY . .
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
|
Loading…
Add table
Reference in a new issue