2022-04-03 20:36:11 +02:00
|
|
|
FROM python:3.7
|
2022-04-03 21:02:38 +02:00
|
|
|
|
2022-04-03 21:44:40 +02:00
|
|
|
ARG KAGGLE_USERNAME
|
|
|
|
|
|
|
|
ARG KAGGLE_KEY
|
|
|
|
|
2022-04-03 19:10:49 +02:00
|
|
|
WORKDIR /
|
2022-04-03 21:02:38 +02:00
|
|
|
|
2022-04-03 21:07:40 +02:00
|
|
|
RUN pip install --user kaggle
|
|
|
|
RUN pip install --user pandas
|
|
|
|
RUN pip install --user sklearn
|
2022-04-03 21:02:38 +02:00
|
|
|
|
2022-04-03 19:10:49 +02:00
|
|
|
COPY KaggleV2-May-2016.csv ./
|
|
|
|
COPY create_data.py ./
|
2022-04-03 22:07:58 +02:00
|
|
|
COPY stats_data.py ./
|
|
|
|
|
|
|
|
CMD python create_data.py
|
|
|
|
CMD python stats.py
|