ium_458023_dockerhub/Dockerfile
2023-06-28 21:43:30 +02:00

18 lines
475 B
Docker

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