2023-04-04 19:46:06 +02:00
|
|
|
FROM ubuntu
|
|
|
|
|
2023-04-04 19:52:46 +02:00
|
|
|
RUN apt-get update && apt-get install -y python3 python3-pip unzip
|
2023-04-04 19:46:06 +02:00
|
|
|
|
2023-05-10 14:11:16 +02:00
|
|
|
RUN python3 -m pip install pandas numpy tensorflow imbalanced-learn sklearn
|
2023-05-07 21:10:11 +02:00
|
|
|
|
2023-05-10 14:11:16 +02:00
|
|
|
COPY train.py /app/train.py
|
|
|
|
COPY predictions.py /app/predictions.py
|
|
|
|
COPY data.csv /app/data.csv
|
|
|
|
COPY test_data.csv /app/test_data.csv
|
2023-05-07 21:10:11 +02:00
|
|
|
|
2023-05-10 14:11:16 +02:00
|
|
|
WORKDIR /app
|
2023-04-04 19:46:06 +02:00
|
|
|
|
2023-05-10 14:11:16 +02:00
|
|
|
RUN python3 train.py
|
|
|
|
|
|
|
|
RUN python3 predictions.py
|