From 1197408c5cc17c9455af192ce25ab2af9e40df3d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 26 Jan 2025 13:23:21 +0000 Subject: [PATCH] fix: docker build --- .dockerignore | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .dockerignore 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