Skip to content

Commit

Permalink
fix: copy .git in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
akarras committed Oct 7, 2023
1 parent adf9eb6 commit 351cb8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 351cb8e

Please sign in to comment.