fix: git information in health API response [TAB-177] (#375)

* fix: add git information to health API response

* chore: use gitcl
This commit is contained in:
vodkaslime 2023-08-29 18:19:54 +08:00 committed by GitHub
parent 6eae3dc976
commit f847cb20a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -1,3 +1,2 @@
**/.git
**/target
**/node_modules

View File

@ -10,6 +10,7 @@ RUN apt-get update && \
pkg-config \
libssl-dev \
protobuf-compiler \
git \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
@ -19,9 +20,7 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
WORKDIR /root/workspace
COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY crates crates
COPY . .
RUN mkdir -p /opt/tabby/bin
RUN mkdir -p /opt/tabby/lib