ium_434742/Dockerfile

32 lines
622 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
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
2021-05-06 21:31:51 +02:00
#COPY ./requirements.txt ./
2021-04-25 19:08:03 +02:00
COPY ./avocado-preprocessing.py ./
2021-05-06 21:31:51 +02:00
#RUN chmod +x ./requirements.txt
2021-04-25 19:08:03 +02:00
RUN chmod +x ./avocado-preprocessing.py
2021-05-06 21:31:51 +02:00
#RUN pip3 install -r ./requirements.txt
2021-04-25 19:08:03 +02:00
CMD python3 avocado-preprocessing.py
# COPY ./avocado-preprocessing.sh ./
# RUN chmod +x avocado-preprocessing.sh
# CMD ./avocado-preprocessing.sh