2022-04-03 16:19:47 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
RUN apt-get update -y
|
|
|
|
RUN apt-get install -y python3 python3-pip
|
|
|
|
|
|
|
|
RUN python3 -m pip install --user kaggle
|
2022-04-03 19:25:27 +02:00
|
|
|
RUN python3 -m pip install --user pandas
|
|
|
|
RUN python3 -m pip install --user scikit-learn
|
2022-04-03 16:19:47 +02:00
|
|
|
|
|
|
|
WORKDIR app
|
|
|
|
|
|
|
|
ARG CUTOFF
|
|
|
|
ENV CUTOFF=${CUTOFF}
|
|
|
|
|
|
|
|
COPY main_docker.py ./
|
|
|
|
COPY heart_2020_cleaned.csv ./
|
|
|
|
|
|
|
|
|
|
|
|
CMD ["python3", "./main_docker.py"]
|