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-05-06 23:23:28 +02:00
|
|
|
# RUN pip3 install kaggle
|
|
|
|
# RUN pip3 install pandas
|
|
|
|
# RUN pip3 install tensorflow
|
|
|
|
# RUN pip3 install scikit-learn
|
|
|
|
# RUN pip3 install pandas
|
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-14 20:48:13 +02:00
|
|
|
COPY ./sacred-training.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-14 20:48:13 +02:00
|
|
|
RUN chmod +x ./sacred-training.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
|
|
|
|
|
|
|
|
|