mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 00:08:06 +00:00
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:
parent
6eae3dc976
commit
f847cb20a3
@ -1,3 +1,2 @@
|
||||
**/.git
|
||||
**/target
|
||||
**/node_modules
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user