ium_487187/Dockerfile

18 lines
421 B
Docker
Raw Normal View History

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 21:00:09 +02:00
RUN python3 -m pip install pandas numpy tensorflow imbalanced-learn sklearn sacred
2023-05-10 16:26:51 +02:00
RUN apt-get install -y git
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
2023-05-10 15:47:46 +02:00
# 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 21:00:09 +02:00
export SACRED_IGNORE_GIT=TRUE
2023-05-10 14:11:16 +02:00
RUN python3 train.py
RUN python3 predictions.py