RoyAalekh commited on
Commit
fa8191e
·
1 Parent(s): 6f15ebd

Fix Git dependencies for auto-commit system

Browse files

- Updated requirements.txt with proper GitPython casing
- Added system Git dependency to Dockerfile
- Install git package in container for GitPython to work
- Ensures auto-commit persistence system functions properly

Files changed (2) hide show
  1. Dockerfile +5 -0
  2. requirements.txt +2 -2
Dockerfile CHANGED
@@ -2,6 +2,11 @@
2
  # Use Python 3.11 as base image
3
  FROM python:3.11-slim
4
 
 
 
 
 
 
5
  # Create user for security
6
  RUN useradd -m -u 1000 user
7
  USER user
 
2
  # Use Python 3.11 as base image
3
  FROM python:3.11-slim
4
 
5
+ # Install system dependencies including Git
6
+ RUN apt-get update && apt-get install -y \
7
+ git \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
  # Create user for security
11
  RUN useradd -m -u 1000 user
12
  USER user
requirements.txt CHANGED
@@ -6,5 +6,5 @@ pydantic>=2.10.0
6
  pydantic-settings>=2.6.0
7
  pandas>=2.3.1
8
  aiofiles>=24.1.0
9
- gitpython>=3.1.40
10
- huggingface_hub>=0.19.0
 
6
  pydantic-settings>=2.6.0
7
  pandas>=2.3.1
8
  aiofiles>=24.1.0
9
+ GitPython>=3.1.40
10
+ huggingface-hub>=0.19.0