dvilasuero HF Staff commited on
Commit
35a7124
·
verified ·
1 Parent(s): 162a6fc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -2,8 +2,12 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  # Install dependencies
6
- RUN pip install --no-cache-dir inspect-ai huggingface_hub
 
7
 
8
  # Expose port for inspect view (HF Spaces uses 7860)
9
  EXPOSE 7860
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install git (needed for installing from GitHub)
6
+ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
7
+
8
  # Install dependencies
9
+ # Install inspect_ai from PR branch with HF filesystem fix
10
+ RUN pip install --no-cache-dir git+https://github.com/dvsrepo/inspect_ai.git@fallback-to-modified-for-hf-fs huggingface_hub
11
 
12
  # Expose port for inspect view (HF Spaces uses 7860)
13
  EXPOSE 7860