added avocado-training to docker
Some checks failed
s434742-training/pipeline/head There was a failure building this commit

This commit is contained in:
patrycjalazna 2021-05-07 18:47:07 +02:00
parent dedf02d972
commit a53d4773fc

View File

@ -17,12 +17,15 @@ WORKDIR /app
COPY ./requirements.txt ./ COPY ./requirements.txt ./
COPY ./avocado-preprocessing.py ./ COPY ./avocado-preprocessing.py ./
COPY ./avocado-training.py ./
RUN chmod +x ./requirements.txt RUN chmod +x ./requirements.txt
RUN chmod +x ./avocado-preprocessing.py RUN chmod +x ./avocado-preprocessing.py
RUN chmod +x ./avocado-training.py
RUN pip3 install -r ./requirements.txt RUN pip3 install -r ./requirements.txt
CMD python3 avocado-preprocessing.py CMD python3 avocado-preprocessing.py
CMD python3 avocado-training.py
# COPY ./avocado-preprocessing.sh ./ # COPY ./avocado-preprocessing.sh ./
# RUN chmod +x avocado-preprocessing.sh # RUN chmod +x avocado-preprocessing.sh