From 351cb8ed7f2aa5cda5ed7d3d34d834ad47aa95c8 Mon Sep 17 00:00:00 2001 From: akarras Date: Sat, 7 Oct 2023 00:06:52 -0600 Subject: [PATCH] fix: copy .git in docker --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 59601bbf..9c2320da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN rustup target add wasm32-unknown-unknown RUN mkdir -p /app WORKDIR /app COPY . . +COPY .git/ ./.git/ ENV LEPTOS_BIN_TARGET_TRIPLE="x86_64-unknown-linux-gnu" ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse RUN cargo leptos --manifest-path=./Cargo.toml build --release -vv