William Mattingly commited on
Commit
e945012
·
1 Parent(s): d7cce61

Install git in Docker image for Hugging Face Spaces build system

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -19,7 +19,9 @@
19
 
20
  FROM python:3.12-slim
21
 
22
- # Install uv (fast Python package manager)
 
 
23
  RUN pip install --no-cache-dir uv
24
 
25
  WORKDIR /app
 
19
 
20
  FROM python:3.12-slim
21
 
22
+ # Install git (required by Hugging Face Spaces build system) and uv
23
+ RUN apt-get update && apt-get install -y --no-install-recommends git \
24
+ && rm -rf /var/lib/apt/lists/*
25
  RUN pip install --no-cache-dir uv
26
 
27
  WORKDIR /app