chore: add git dependency, for purpose of using scheduler in container

sweep/improve-logging-information
Meng Zhang 2023-06-24 09:23:16 -07:00
parent 9e42a36376
commit 06ac9f594e
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
FROM ghcr.io/opennmt/ctranslate2:3.15.0-ubuntu20.04-cuda11.2
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /opt/tabby /opt/tabby
ENV TABBY_ROOT=/data