ium_487187/Dockerfile
Jakub Zaręba f562d1b0a4 f
2023-05-10 22:49:14 +02:00

17 lines
416 B
Docker

FROM ubuntu
RUN apt-get update && apt-get install -y python3 python3-pip unzip
RUN python3 -m pip install pandas numpy tensorflow imbalanced-learn sklearn sacred pymongo mlflow
RUN apt-get install -y git
COPY train.py /app/train.py
COPY predictions.py /app/predictions.py
COPY data.csv /app/data.csv
WORKDIR /app
RUN export SACRED_IGNORE_GIT=TRUE
RUN mlflow run . -P epochs=10
CMD ["python3", "predictions.py"]