FROM ubuntu:latest

WORKDIR /ium

COPY ./skrypt.sh ./
COPY ./statystyki.sh ./

RUN chmod u+x ./skrypt.sh ./statystyki.sh

RUN apt update && apt install -y pip zip

RUN pip install --user kaggle

RUN mkdir ~/.kaggle
RUN echo "{\"username\":\"kaerde\",\"key\":\"9831adcf128300863404c16935674937\"}" > ~/.kaggle/kaggle.json
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc