diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +target/ diff --git a/Dockerfile b/Dockerfile index e8ef1de..27d2748 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk add --no-cache dbus-dev=1.14.10-r4 && rm -rf /vra/cache/apk/* FROM chef AS planner COPY Cargo.toml ./ -COPY crates crates +COPY src src RUN cargo chef prepare --recipe-path recipe.json FROM chef AS builder