2022-04-02 17:27:04 +02:00
|
|
|
FROM ubuntu:latest
|
2022-04-02 19:12:06 +02:00
|
|
|
FROM python:3.9
|
2022-04-02 17:27:04 +02:00
|
|
|
|
2022-04-02 19:12:06 +02:00
|
|
|
RUN apt-get update
|
|
|
|
# RUN apt install -y python3-pip
|
2022-04-02 17:27:04 +02:00
|
|
|
|
|
|
|
RUN pip3 install pandas
|
|
|
|
RUN pip3 install matplotlib
|
|
|
|
RUN pip3 install sklearn
|
|
|
|
RUN pip3 install kaggle
|
2022-04-24 02:37:51 +02:00
|
|
|
RUN pip3 install torch
|
2022-05-13 00:59:11 +02:00
|
|
|
RUN pip3 install mlflow
|
2022-06-04 20:24:06 +02:00
|
|
|
|
2022-06-04 20:00:39 +02:00
|
|
|
RUN pip3 install dvc
|
|
|
|
RUN pip3 install dvc[ssh]
|
2022-06-04 20:06:12 +02:00
|
|
|
RUN useradd -r -u 777 jenkins
|
2022-06-04 20:15:18 +02:00
|
|
|
RUN apt install -y sshpass openssh-client
|
2022-06-04 20:13:11 +02:00
|
|
|
|
2022-04-24 04:02:14 +02:00
|
|
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
|
|
|
|
2022-04-02 17:29:58 +02:00
|
|
|
WORKDIR /ium
|
|
|
|
|
|
|
|
COPY ./ium-data.py ./
|
2022-04-02 23:18:13 +02:00
|
|
|
COPY ./download.sh ./
|
2022-04-24 02:37:51 +02:00
|
|
|
COPY ./biblioteki_ml.py ./
|
2022-05-01 17:19:50 +02:00
|
|
|
COPY ./eval.py ./
|
2022-04-02 17:29:58 +02:00
|
|
|
|
2022-04-02 23:26:44 +02:00
|
|
|
ARG KAGGLE_KEY
|
2022-04-02 23:22:33 +02:00
|
|
|
ARG KAGGLE_USERNAME
|
|
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
|
2022-04-02 23:33:34 +02:00
|
|
|
# RUN ./download.sh
|
2022-04-02 23:17:02 +02:00
|
|
|
|
2022-04-02 23:33:34 +02:00
|
|
|
# CMD ./ium-data.py
|