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-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-04-07 22:12:11 +02:00
|
|
|
COPY ml_training.py ./
|
2022-04-03 16:19:47 +02:00
|
|
|
COPY heart_2020_cleaned.csv ./
|
|
|
|
|
|
|
|
|
2022-05-03 00:04:45 +02:00
|
|
|
CMD ["python3", "./ml_training.py $EPOCHS"]
|