Skip to content

Commit ef1b41e

Browse files
committed
update Dockerfile.test.dockerignore
1 parent bc0fabf commit ef1b41e

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-
77
RUN cargo install cargo-chef --locked --version 0.1.71
88

99
FROM chef AS planner
10+
1011
WORKDIR /app
1112
RUN --mount=target=. \
1213
cargo chef prepare --recipe-path /recipe.json

Dockerfile.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ RUN cargo install cargo-chef --locked
88

99
FROM chef AS planner
1010
WORKDIR /app
11-
1211
COPY . .
1312
# Hacky: Replace tests with dummy stub to avoid workspace member issues of top-level Cargo.toml.
1413
# This is needed because within the Docker integration tests we don't need the tests crate

Dockerfile.test.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# include source files
55
!/bin
6+
!/.cargo
67
!/crates
78
!/testing
89
!book.toml

0 commit comments

Comments
 (0)