ium_470607/lab5/eval/Dockerfile
2021-05-15 20:45:35 +02:00

21 lines
430 B
Docker

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