18 lines
403 B
Docker
18 lines
403 B
Docker
|
FROM ubuntu:latest
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY ./skrypt.sh ./
|
||
|
COPY ./statystyki.sh ./
|
||
|
|
||
|
RUN chmod u+x ./skrypt.sh ./statystyki.sh
|
||
|
|
||
|
RUN apt update && apt install -y python3-pip zip
|
||
|
|
||
|
RUN pip install --user kaggle
|
||
|
|
||
|
RUN mkdir ~/.kaggle
|
||
|
RUN echo "{\"username\":\"kaerde\",\"key\":\"9831adcf128300863404c16935674937\"}" > ~/.kaggle/kaggle.json
|
||
|
RUN cd -
|
||
|
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc
|