mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
26 lines
932 B
Docker
26 lines
932 B
Docker
FROM mambaorg/micromamba:debian12
|
|
|
|
USER root
|
|
# For https://github.com/OSU-NLP-Group/ScienceAgentBench/tree/main?tab=readme-ov-file#code-generation-with-agents
|
|
|
|
RUN micromamba create -n sci-agent-eval python=3.10 pip setuptools wheel
|
|
RUN micromamba run -n sci-agent-eval pip install pip-tools
|
|
|
|
RUN mkdir -p /workspace
|
|
WORKDIR /workspace
|
|
|
|
RUN apt-get update && apt-get install -y git
|
|
|
|
RUN git clone https://github.com/OSU-NLP-Group/ScienceAgentBench.git /workspace/
|
|
RUN git checkout 4eddc7db6449a5ade3e37285747c8b208cd54ce7
|
|
|
|
RUN micromamba create -n sci-agent python=3.10 pip setuptools wheel
|
|
RUN micromamba run -n sci-agent pip install -r requirements.txt
|
|
|
|
# Replace all occurrences of conda with micromamba under the /workspace
|
|
RUN find ./ -type f -exec sed -i 's/conda/micromamba/g' {} \;
|
|
|
|
# pushd evaluation/scienceagentbench
|
|
# docker build -t xingyaoww/openhands-eval-scienceagentbench-evaluator -f Dockerfile.evaluator .
|
|
# popd
|