2022-04-02 12:21:44 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2022-04-02 12:56:22 +02:00
|
|
|
WORKDIR /ium
|
2022-04-02 12:21:44 +02:00
|
|
|
|
|
|
|
COPY ./skrypt.sh ./
|
|
|
|
COPY ./statystyki.sh ./
|
|
|
|
|
|
|
|
RUN chmod u+x ./skrypt.sh ./statystyki.sh
|
|
|
|
|
2022-04-02 12:58:39 +02:00
|
|
|
RUN apt update && apt install -y python3-pip zip
|
2022-04-02 12:21:44 +02:00
|
|
|
|
2022-04-02 13:07:37 +02:00
|
|
|
RUN pip3 install kaggle
|
2022-04-02 12:21:44 +02:00
|
|
|
|
2022-04-02 13:22:56 +02:00
|
|
|
RUN mkdir ~/.kaggle
|
|
|
|
RUN chmod -R 777 ~/.kaggle
|
2022-04-02 12:21:44 +02:00
|
|
|
RUN echo "{\"username\":\"kaerde\",\"key\":\"9831adcf128300863404c16935674937\"}" > ~/.kaggle/kaggle.json
|
2022-04-02 12:47:08 +02:00
|
|
|
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc
|