ium_434742/Dockerfile
patrycjalazna a788238e58
Some checks failed
s434742-training/pipeline/head There was a failure building this commit
s434742-evaluation/pipeline/head There was a failure building this commit
mlflow added to jenkinsfile
2021-05-23 14:51:42 +02:00

38 lines
864 B
Docker

FROM ubuntu:focal
RUN apt update
RUN apt install -y python3 python3-pip
# 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 ./
COPY ./avocado-evaluation.py ./
COPY ./sacred-fileobserver.py ./
COPY ./sacred-mongoobserver.py ./
COPY ./avocado-mlflow.py ./
RUN chmod +x ./requirements.txt
RUN chmod +x ./avocado-preprocessing.py
RUN chmod +x ./avocado-training.py
RUN chmod +x ./avocado-evaluation.py
RUN chmod +x ./sacred-fileobserver.py
RUN chmod +x ./sacred-mongoobserver.py
RUN chmod +x ./avocado-mlflow.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