2022-04-02 12:43:11 +02:00
|
|
|
FROM ubuntu:latest
|
2022-03-31 18:49:25 +02:00
|
|
|
|
|
|
|
RUN apt-get update
|
2022-04-01 13:24:19 +02:00
|
|
|
RUN apt-get install -y python3-pip
|
2022-04-02 12:53:40 +02:00
|
|
|
RUN pip3 install --upgrade pip
|
|
|
|
RUN pip3 install --upgrade Pillow
|
2022-04-02 12:49:57 +02:00
|
|
|
RUN pip3 install kaggle
|
2022-04-02 12:43:11 +02:00
|
|
|
RUN pip3 install pandas
|
|
|
|
RUN pip3 install matplotlib
|
|
|
|
RUN pip3 install sklearn
|
2022-03-31 18:49:25 +02:00
|
|
|
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
|
2022-04-02 13:17:12 +02:00
|
|
|
RUN chmod 666 root/.kaggle
|
2022-04-02 13:08:35 +02:00
|
|
|
RUN chmod 666 root/.kaggle/kaggle.json
|
2022-03-31 18:49:25 +02:00
|
|
|
|
2022-04-02 13:14:24 +02:00
|
|
|
WORKDIR /app
|
2022-03-31 18:49:25 +02:00
|
|
|
|
|
|
|
ENV CUTOFF=1000
|
|
|
|
|
|
|
|
COPY download.sh .
|
|
|
|
COPY Zajecia_2/main.py .
|
|
|
|
|
2022-04-02 13:08:35 +02:00
|
|
|
RUN ls -al /root/.kaggle/kaggle.json
|
2022-04-02 13:16:22 +02:00
|
|
|
RUN whoami
|
|
|
|
#RUN ./download.sh
|
|
|
|
#CMD ["python3", "./main.py"]
|