ium_444356/Dockerfile

26 lines
653 B
Docker
Raw Normal View History

2022-04-02 12:10:02 +02:00
FROM ubuntu:20.04
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-03-31 18:49:25 +02:00
RUN python3 -m pip install kaggle
2022-04-01 13:27:02 +02:00
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade Pillow
2022-04-01 13:50:58 +02:00
RUN pip3 install --user pandas
2022-04-01 13:22:58 +02:00
RUN pip3 install --user matplotlib
RUN pip3 install --user 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
RUN chmod 600 root/.kaggle/kaggle.json
WORKDIR /app
ENV CUTOFF=1000
COPY download.sh .
COPY Zajecia_2/main.py .
RUN ./download.sh
2022-03-31 21:43:01 +02:00
CMD ["python3", "./main.py"]