Fix Dockerfile: copy benches/ dir so Cargo.toml bench entry resolves
Some checks failed
CI — P1 Route (Rust) / test (push) Failing after 6m56s
Some checks failed
CI — P1 Route (Rust) / test (push) Failing after 6m56s
This commit is contained in:
@@ -4,6 +4,7 @@ WORKDIR /app
|
|||||||
RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
|
||||||
COPY Cargo.toml Cargo.lock* ./
|
COPY Cargo.toml Cargo.lock* ./
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
|
COPY benches/ benches/
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user