fix: install git for durable state recovery

This commit is contained in:
CoolBoy
2026-08-15 19:33:07 +08:00
parent 4260793c03
commit 467eaccd59
5 changed files with 41 additions and 15 deletions

View File

@@ -5,6 +5,10 @@ ENV PYTHONPATH=/app/modelhub_submmit_api
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt