added Dockerfile

This commit is contained in:
Mateusz Kuc 2023-06-28 21:43:30 +02:00
parent 27fffd2616
commit 7032df2b65
1 changed files with 18 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM ubuntu:latest
ADD get-data.sh /get-data.sh
ADD prepare_dataset.py /prepare_dataset.py
ARG DEBIAN_FRONTEND=noninteractive
ENV KAGGLE_USERNAME=1000
ENV CUTOFF=1000
RUN apt-get update
RUN apt-get install -y python3 python3-pip unzip
RUN pip install pandas
RUN pip install scikit-learn
RUN pip install kaggle
RUN mkdir /.kaggle
RUN echo "{\"username\":\"mattkrawl\",\"key\":\"c21878a7463faa44361330ffbcea68a6\"}" > /.kaggle/kaggle.json
RUN chmod 777 /.kaggle/kaggle.json