FROM python:3.11

RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y build-essential

RUN python -m pip install --upgrade pip
COPY requirements.txt /tmp
RUN python -m pip install -r /tmp/requirements.txt

WORKDIR ./app

COPY ./get_dataset.py ./
COPY ./get_stats.py ./
COPY ./train.py ./
COPY predict.py ./
CMD bash