Dockerfile.evaluator 930 B

12345678910111213141516171819202122232425
  1. FROM mambaorg/micromamba:debian12
  2. USER root
  3. # For https://github.com/OSU-NLP-Group/ScienceAgentBench/tree/main?tab=readme-ov-file#code-generation-with-agents
  4. RUN micromamba create -n sci-agent-eval python=3.10 pip setuptools wheel
  5. RUN micromamba run -n sci-agent-eval pip install pip-tools
  6. RUN mkdir -p /workspace
  7. WORKDIR /workspace
  8. RUN apt-get update && apt-get install -y git
  9. RUN git clone https://github.com/OSU-NLP-Group/ScienceAgentBench.git /workspace/
  10. RUN git checkout 4eddc7db6449a5ade3e37285747c8b208cd54ce7
  11. RUN micromamba create -n sci-agent python=3.10 pip setuptools wheel
  12. RUN micromamba run -n sci-agent pip install -r requirements.txt
  13. # Replace all occurence of conda with micromamba under the /workspace
  14. RUN find ./ -type f -exec sed -i 's/conda/micromamba/g' {} \;
  15. # pushd evaluation/scienceagentbench
  16. # docker build -t xingyaoww/openhands-eval-scienceagentbench-evaluator -f Dockerfile.evaluator .
  17. # popd