Docker: dont copy everything
All checks were successful
ci / docker (push) Successful in 3m44s

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2024-10-13 01:49:08 +02:00
parent 2d66c48b7b
commit a4b9b55f90

View file

@ -2,7 +2,8 @@ FROM docker.io/lukemathwalker/cargo-chef:latest-rust-1 AS chef
WORKDIR /app
FROM chef AS planner
COPY . .
COPY Cargo.* .
ADD src src
RUN cargo chef prepare --recipe-path recipe.json
FROM chef AS builder