FROM python:3.11-slim WORKDIR /app # Install git (needed for installing from GitHub) RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/* # Install dependencies # Install inspect_ai from PR branch with HF filesystem fix RUN pip install --no-cache-dir git+https://github.com/dvsrepo/inspect_ai.git@fallback-to-modified-for-hf-fs huggingface_hub # Expose port for inspect view (HF Spaces uses 7860) EXPOSE 7860 # Run inspect view pointing to the dataset # HF_TOKEN is automatically available in HF Spaces as an environment variable # hf://datasets/dvilasuero/simpleqa_verified-sample/logs will be replaced when duplicating the space CMD ["inspect", "view", "--log-dir", "hf://datasets/dvilasuero/simpleqa_verified-sample/logs", "--host", "0.0.0.0", "--port", "7860"]