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
|
|
|
|
RUN pip3 install kaggle
|
2021-04-25 19:08:03 +02:00
|
|
|
RUN pip3 install pandas
|
|
|
|
RUN pip3 install tensorflow
|
|
|
|
RUN pip3 install scikit-learn
|
|
|
|
RUN pip3 install pandas
|
|
|
|
# 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
|
|
|
|
|
|
|
COPY ./requirements.txt ./
|
|
|
|
COPY ./avocado-preprocessing.py ./
|
|
|
|
|
|
|
|
RUN chmod +x ./requirements.txt
|
|
|
|
RUN chmod +x ./avocado-preprocessing.py
|
|
|
|
|
|
|
|
RUN pip3 install -r ./requirements.txt
|
|
|
|
CMD python3 avocado-preprocessing.py
|
|
|
|
|
|
|
|
# COPY ./avocado-preprocessing.sh ./
|
|
|
|
# RUN chmod +x avocado-preprocessing.sh
|
|
|
|
# CMD ./avocado-preprocessing.sh
|
|
|
|
|
|
|
|
|