From a7b46ad855a321cd544e1192ffeb7198993ff931 Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Mon, 2 Dec 2024 14:04:53 +0700 Subject: [PATCH] test --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce7c72ff..3657ead3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,11 +26,11 @@ ENV SCCACHE_DIR=/sccache FROM base AS planner WORKDIR /app -COPY . . -# COPY ./Cargo.lock ./Cargo.lock -# COPY ./Cargo.toml ./Cargo.toml -# COPY ./.git ./.git -# COPY ./crates/ ./crates/ +# COPY . . +COPY ./Cargo.lock ./Cargo.lock +COPY ./Cargo.toml ./Cargo.toml +COPY ./.git ./.git +COPY ./crates/ ./crates/ RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/usr/local/cargo/git \ @@ -50,11 +50,11 @@ COPY --from=planner /app/recipe.json recipe.json RUN --mount=type=cache,target=$SCCACHE_DIR,sharing=locked \ cargo chef cook --release --recipe-path recipe.json -COPY . . -# COPY ./Cargo.lock ./Cargo.lock -# COPY ./Cargo.toml ./Cargo.toml -# COPY ./.git ./.git -# COPY ./crates/ ./crates/ +# COPY . . +COPY ./Cargo.lock ./Cargo.lock +COPY ./Cargo.toml ./Cargo.toml +COPY ./.git ./.git +COPY ./crates/ ./crates/ RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/usr/local/cargo/git \