fix lock rc version

This commit is contained in:
2023-12-30 23:11:57 +08:00
parent 289a19d4da
commit 7621f56b34
4 changed files with 5 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ WORKDIR /usr/src/
RUN cargo new myapp --vcs none
WORKDIR /usr/src/myapp
COPY Cargo.toml ./
COPY rust-toolchain ./
RUN cargo build --release
# 为了充分利用docker的缓存