ium_470607/lab5/create/Dockerfile

20 lines
390 B
Docker
Raw Permalink Normal View History

2021-05-02 22:27:45 +02:00
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
WORKDIR /app
2021-05-14 21:55:52 +02:00
COPY ./create_dataset.py ./
2021-05-02 22:27:45 +02:00
COPY ./script.sh ./
RUN chmod +x script.sh
COPY ./requirements.txt ./
RUN pip3 install -r requirements.txt >>/dev/null
CMD ./script.sh