ium_444356/Dockerfile
2022-04-01 13:43:18 +02:00

26 lines
701 B
Docker
Executable File

FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y python3-pip
RUN python3 -m pip install kaggle
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade Pillow
RUN pip3 install --user pandas && ls -la ~/.local/lib/python3.7/site-packages
RUN pip3 install --user matplotlib
RUN pip3 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
CMD ["python3", "./main.py"]