From ab0b6e6e1bfaabe386bb7ac8514140de197d1ea0 Mon Sep 17 00:00:00 2001 From: incubator4 Date: Tue, 27 Feb 2024 21:54:08 +0800 Subject: [PATCH] chore: fix dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e136461..8ee5d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,7 @@ RUN apt-get update && \ RUN apt update && apt install -y \ pkg-config -RUN --mount=type=cache,target=/usr/local/cargo/registry \ - --mount=type=cache,target=/usr/src/target \ - cargo install --path . +RUN cargo install --path . FROM alpine as runner