ium_434742/Dockerfile
patrycjalazna 27c3bbff96
All checks were successful
s434742-training/pipeline/head This commit looks good
minor changes in dockerfile
2021-05-07 20:52:36 +02:00

35 lines
730 B
Docker

FROM ubuntu:focal
RUN apt update
RUN apt install -y python3 python3-pip
# RUN pip3 install kaggle
# RUN pip3 install pandas
# RUN pip3 install tensorflow
# RUN pip3 install scikit-learn
# RUN pip3 install pandas
# RUN apt install -y unzip
RUN mkdir /.kaggle
RUN chmod -R 777 /.kaggle
WORKDIR /app
COPY ./requirements.txt ./
COPY ./avocado-preprocessing.py ./
COPY ./avocado-training.py ./
RUN chmod +x ./requirements.txt
RUN chmod +x ./avocado-preprocessing.py
RUN chmod +x ./avocado-training.py
RUN pip3 install -r ./requirements.txt
# CMD python3 avocado-preprocessing.py
# CMD python3 avocado-training.py
# COPY ./avocado-preprocessing.sh ./
# RUN chmod +x avocado-preprocessing.sh
# CMD ./avocado-preprocessing.sh