Update Dockerfile.rust
parent
7b10340e67
commit
135a54b43c
|
|
@ -46,7 +46,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"
|
||||||
COPY crates crates
|
COPY crates crates
|
||||||
|
|
||||||
WORKDIR /root/crates/tabby
|
WORKDIR /root/crates/tabby
|
||||||
|
RUN mkdir -p target
|
||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/root/crates/tabby/target \
|
--mount=type=cache,target=/root/crates/tabby/target \
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue