32 lines
644 B
Docker
32 lines
644 B
Docker
FROM python:3.7
|
|
|
|
WORKDIR /
|
|
|
|
ARG KAGGLE_USERNAME
|
|
ARG KAGGLE_KEY
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
RUN apt update
|
|
RUN apt-get update
|
|
RUN apt install python3-pip -y
|
|
|
|
RUN pip3 install --user kaggle
|
|
RUN pip3 install --user pandas
|
|
RUN pip3 install --user sklearn
|
|
RUN pip3 install --user torch
|
|
RUN pip3 install --user tqdm
|
|
RUN pip3 install --user seaborn
|
|
RUN pip3 install dvc
|
|
RUN pip3 install dvc[ssh] paramiko
|
|
|
|
COPY KaggleV2-May-2016.csv ./
|
|
COPY create_data.py ./
|
|
COPY stats_data.py ./
|
|
COPY train_model.py ./
|
|
|
|
# CMD ["python", "train_model.py"]
|
|
|
|
# CMD ["python", "create_data.py"]
|
|
# CMD ["python", "stats_data.py"]
|