Rick commited on
Commit
d11625e
·
1 Parent(s): d0f2f7d

HF Docker build: install git for Spaces injected git config step

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -9,9 +9,8 @@
9
  FROM python:3.10-slim
10
 
11
  # 1. Install system tools as ROOT
12
- # Include wget because Hugging Face's injected dev-init step fetches
13
- # OpenVSCode Server with wget during Space builds.
14
- RUN apt-get update && apt-get install -y build-essential curl wget && rm -rf /var/lib/apt/lists/*
15
 
16
  # 2. Setup the user but STAY as root for a moment
17
  RUN useradd -m -u 1000 user
 
9
  FROM python:3.10-slim
10
 
11
  # 1. Install system tools as ROOT
12
+ # Include wget + git because Hugging Face's injected dev-init step uses both.
13
+ RUN apt-get update && apt-get install -y build-essential curl wget git && rm -rf /var/lib/apt/lists/*
 
14
 
15
  # 2. Setup the user but STAY as root for a moment
16
  RUN useradd -m -u 1000 user