FROM ubuntu:latest

ENV KAGGLE_USERNAME=adamwieczrek
ARG KAGGLE_KEY
ENV KAGGLE_KEY=${KAGGLE_KEY}

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC

RUN apt update && \
    apt install -y python3 python3-pip unzip

RUN pip install kaggle pandas seaborn scikit-learn tensorflow

WORKDIR /app

COPY IUM_05-model.py ./
COPY IUM_05-predict.py ./
COPY IUM_05-split.py ./

CMD ["python3", "IUM_02.py"]

CMD bash