fix(docker): fix docker build

This commit is contained in:
OlivierDehaene 2023-05-09 13:20:52 +02:00
parent e250282213
commit dd4252451f

View File

@ -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