File size: 464 Bytes
24c2665
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Better use newer Python as generated code can use new features
FROM python:3.11-slim

# install git and c++ (required by cirronlib.cpp)
RUN apt-get update && apt-get install -y git g++

# upgrade to latest pip
RUN pip install --upgrade pip

COPY . /evalplus

RUN cd /evalplus && pip install ".[perf]"

# Pre-install the dataset
RUN python3 -c "from evalplus.data import *; get_human_eval_plus(); get_mbpp_plus(); get_evalperf_data()"

WORKDIR /app

CMD ["bash"]