add Dockerfile

This commit is contained in:
Maciej Czajka 2022-03-31 18:49:25 +02:00
parent 2aa8876b2b
commit 884e028c4d

23
Dockerfile Executable file
View File

@ -0,0 +1,23 @@
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y pip
RUN python3 -m pip install kaggle
RUN pip install --user pandas
RUN pip install --user matplotlib
RUN pip install --user sklearn
RUN apt-get install unzip
RUN mkdir root/.kaggle
RUN touch root/.kaggle/kaggle.json
RUN echo "{\"username\":\"maciejczajka\",\"key\":\"d8f044ad2b96d32372e22f9054c02bb1\"}" >> root/.kaggle/kaggle.json
RUN chmod 600 root/.kaggle/kaggle.json
WORKDIR /app
ENV CUTOFF=1000
COPY download.sh .
COPY Zajecia_2/main.py .
RUN ./download.sh
RUN python3 ./main.py