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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -9,4 +9,6 @@ RUN pip install --no-cache-dir inspect-ai huggingface_hub
9
  EXPOSE 7860
10
 
11
  # Run inspect view pointing to the dataset
12
- CMD ["inspect", "view", "--host", "0.0.0.0", "--port", "7860", "DATASET_PATH"]
 
 
 
9
  EXPOSE 7860
10
 
11
  # Run inspect view pointing to the dataset
12
+ # HF_TOKEN is automatically available in HF Spaces as an environment variable
13
+ # DATASET_PATH will be replaced when duplicating the space
14
+ CMD ["inspect", "view", "--log-dir", "DATASET_PATH", "--host", "0.0.0.0", "--port", "7860"]