ium_444465/Dockerfile

21 lines
454 B
Docker
Raw Normal View History

2022-04-03 16:19:47 +02:00
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install -y python3 python3-pip
2022-04-07 22:12:11 +02:00
RUN python3 -m pip install kaggle
RUN python3 -m pip install pandas
RUN python3 -m pip install scikit-learn
RUN python3 -m pip install --upgrade tensorflow
2022-05-29 15:33:24 +02:00
RUN python3 -m pip install dvc
RUN python3 -m pip install dvc[ssh] paramiko
2022-04-03 16:19:47 +02:00
WORKDIR app
2022-05-01 19:48:29 +02:00
ARG EPOCHS
ENV EPOCHS=${EPOCHS}
2022-04-03 16:19:47 +02:00
2022-05-29 15:33:24 +02:00
COPY ml_prepare.py ./
COPY ml_training.py ./
2022-04-03 16:19:47 +02:00
2022-05-29 15:33:24 +02:00
CMD ["python3", "./ml_training.py $EPOCHS"]