2022-04-03 16:19:47 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
RUN apt-get update -y
|
|
|
|
RUN apt-get install -y python3 python3-pip
|
|
|
|
|
2022-04-07 22:12:11 +02:00
|
|
|
RUN python3 -m pip install kaggle
|
|
|
|
RUN python3 -m pip install pandas
|
|
|
|
RUN python3 -m pip install scikit-learn
|
|
|
|
RUN python3 -m pip install --upgrade tensorflow
|
2022-05-29 15:33:24 +02:00
|
|
|
RUN python3 -m pip install dvc
|
|
|
|
RUN python3 -m pip install dvc[ssh] paramiko
|
2022-04-03 16:19:47 +02:00
|
|
|
|
|
|
|
WORKDIR app
|
|
|
|
|
2022-05-29 15:33:24 +02:00
|
|
|
COPY ml_prepare.py ./
|
|
|
|
COPY ml_training.py ./
|
2022-05-29 15:37:22 +02:00
|
|
|
RUN useradd -r -u 111 s444465
|
2022-04-03 16:19:47 +02:00
|
|
|
|
2022-05-29 15:37:22 +02:00
|
|
|
CMD ["python3", "./ml_training.py"]
|