FROM ubuntu:latest

RUN apt update >>/dev/null
RUN apt install -y apt-utils >>/dev/null
RUN apt install -y python3.8 >>/dev/null
RUN apt install -y python3-pip >>/dev/null
RUN apt install -y unzip >>/dev/null
RUN pip3 install 'h5py==2.10.0' --force-reinstall

WORKDIR /app

COPY ./eval.py ./
COPY ./script.sh ./
RUN chmod +x script.sh

COPY ./requirements.txt ./

RUN pip3 install -r requirements.txt >>/dev/null

CMD ./script.sh