ium_s449288/Dockerfile

17 lines
414 B
Docker

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 python3-pip zip
RUN pip3 install kaggle
RUN mkdir ~/.kaggle
RUN chmod -R 777 ~/.kaggle
RUN echo "{\"username\":\"kaerde\",\"key\":\"9831adcf128300863404c16935674937\"}" > ~/.kaggle/kaggle.json
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc