marcosremar2 commited on
Commit
9b23f6f
·
1 Parent(s): 6996a7f

Add git to Dockerfile for HF Space Dev mode requirements

Browse files

- HF Space Dev mode requires git for configuration
- Added git package installation alongside wget
- This should fix the '/bin/sh: 1: git: not found' error

Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,7 +1,10 @@
1
  FROM python:3.10-slim
2
 
3
- # Install wget in case HF needs it
4
- RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
 
 
 
5
 
6
  WORKDIR /app
7
 
 
1
  FROM python:3.10-slim
2
 
3
+ # Install wget and git for HF Space requirements
4
+ RUN apt-get update && apt-get install -y \
5
+ wget \
6
+ git \
7
+ && rm -rf /var/lib/apt/lists/*
8
 
9
  WORKDIR /app
10