ium_434742/Dockerfile

36 lines
803 B
Docker
Raw Normal View History

2021-04-11 13:04:09 +02:00
FROM ubuntu:focal
2021-04-10 16:25:14 +02:00
2021-04-11 13:04:09 +02:00
RUN apt update
2021-04-10 16:25:14 +02:00
2021-04-11 13:04:09 +02:00
RUN apt install -y python3 python3-pip
2021-04-25 19:08:03 +02:00
# RUN apt install -y unzip
2021-04-10 16:25:14 +02:00
2021-04-11 13:04:09 +02:00
RUN mkdir /.kaggle
RUN chmod -R 777 /.kaggle
2021-04-10 16:25:14 +02:00
2021-04-11 13:04:09 +02:00
WORKDIR /app
2021-04-25 19:08:03 +02:00
2021-05-06 23:23:28 +02:00
COPY ./requirements.txt ./
2021-04-25 19:08:03 +02:00
COPY ./avocado-preprocessing.py ./
2021-05-07 18:47:07 +02:00
COPY ./avocado-training.py ./
2021-05-08 13:28:34 +02:00
COPY ./avocado-evaluation.py ./
2021-05-15 12:02:10 +02:00
COPY ./sacred-fileobserver.py ./
COPY ./sacred-mongoobserver.py ./
2021-04-25 19:08:03 +02:00
2021-05-06 23:23:28 +02:00
RUN chmod +x ./requirements.txt
2021-04-25 19:08:03 +02:00
RUN chmod +x ./avocado-preprocessing.py
2021-05-07 18:47:07 +02:00
RUN chmod +x ./avocado-training.py
2021-05-08 13:28:34 +02:00
RUN chmod +x ./avocado-evaluation.py
2021-05-15 12:02:10 +02:00
RUN chmod +x ./sacred-fileobserver.py
RUN chmod +x ./sacred-mongoobserver.py
2021-04-25 19:08:03 +02:00
2021-05-06 23:23:28 +02:00
RUN pip3 install -r ./requirements.txt
2021-05-07 20:52:36 +02:00
# CMD python3 avocado-preprocessing.py
# CMD python3 avocado-training.py
2021-04-25 19:08:03 +02:00
# COPY ./avocado-preprocessing.sh ./
# RUN chmod +x avocado-preprocessing.sh
# CMD ./avocado-preprocessing.sh