21 lines
430 B
Docker
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
|