fix(docker): fix docker build (#299)
This commit is contained in:
parent
e250282213
commit
bc5c07231e
|
@ -6,6 +6,7 @@ FROM chef as planner
|
|||
COPY Cargo.toml Cargo.toml
|
||||
COPY rust-toolchain.toml rust-toolchain.toml
|
||||
COPY proto proto
|
||||
COPY benchmark benchmark
|
||||
COPY router router
|
||||
COPY launcher launcher
|
||||
RUN cargo chef prepare --recipe-path recipe.json
|
||||
|
@ -27,6 +28,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
|
|||
COPY Cargo.toml Cargo.toml
|
||||
COPY rust-toolchain.toml rust-toolchain.toml
|
||||
COPY proto proto
|
||||
COPY benchmark benchmark
|
||||
COPY router router
|
||||
COPY launcher launcher
|
||||
RUN cargo build --release
|
||||
|
|
Loading…
Reference in New Issue