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-15 17:45:43 +02:00
|
|
|
COPY ./train.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
|