ium_478855/Dockerfile

30 lines
580 B
Docker
Raw Normal View History

2022-05-04 19:33:07 +02:00
FROM python:3.7
2022-04-03 21:02:38 +02:00
2022-04-03 19:10:49 +02:00
WORKDIR /
2022-04-03 21:02:38 +02:00
2022-04-03 22:32:52 +02:00
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
2022-05-04 19:22:21 +02:00
RUN apt update
2022-05-04 19:23:00 +02:00
RUN apt-get update
2022-05-04 19:21:05 +02:00
RUN apt install python3-pip -y
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-24 20:51:38 +02:00
RUN pip install --user torch
RUN pip install --user tqdm
RUN pip install --user seaborn
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 ./
2022-05-04 19:18:48 +02:00
COPY train_model.py ./
CMD ["python", "train_model.py"]
2022-04-03 22:38:17 +02:00
2022-04-24 20:51:38 +02:00
# CMD ["python", "create_data.py"]
# CMD ["python", "stats_data.py"]