Added Dockerfile

This commit is contained in:
Kamil Guttmann 2022-04-03 17:26:46 +02:00
parent 4d028db0cf
commit cccbe68206

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM ubuntu
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ARG CUTOFF
ENV CUTOFF=${CUTOFF:-260000}
WORKDIR /app
COPY ./download_data.sh calc_stats.sh ./
COPY ./clean_and_split_data.py calc_stats.py ./
RUN apt-get update && apt-get install -y python3-pip unzip && rm -rf /var/lib/apt/lists/*
RUN export PATH="$PATH:/root/.local/bin"
RUN pip3 install kaggle pandas scikit-learn