FROM ubuntu:latest

COPY requirements.txt ./

RUN apt-get update
RUN apt-get install -y python3-pip
RUN pip3 install --user -r ./requirements.txt

WORKDIR /app

COPY ./stats.py ./
COPY /kaggle.json /root/.kaggle/

CMD python3 stats.py