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:56:22 +02:00
|
|
|
RUN apt update && apt install -y pip zip
|
2022-04-02 12:21:44 +02:00
|
|
|
|
|
|
|
RUN pip install --user kaggle
|
|
|
|
|
|
|
|
RUN mkdir ~/.kaggle
|
|
|
|
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
|