38 lines
651 B
Docker
38 lines
651 B
Docker
FROM ubuntu:latest
|
|
FROM python:3.9
|
|
|
|
RUN apt-get update
|
|
# RUN apt install -y python3-pip
|
|
|
|
RUN pip3 install pandas
|
|
RUN pip3 install matplotlib
|
|
RUN pip3 install sklearn
|
|
RUN pip3 install kaggle
|
|
RUN pip3 install torch
|
|
RUN pip3 install mlflow
|
|
|
|
RUN pip3 install dvc
|
|
RUN pip3 install dvc[ssh]
|
|
|
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
|
|
|
RUN useradd -r -u 777 jenkins
|
|
RUN apt install -y sshpass openssh-client
|
|
|
|
WORKDIR /ium
|
|
|
|
COPY ./ium-data.py ./
|
|
COPY ./download.sh ./
|
|
COPY ./biblioteki_ml.py ./
|
|
COPY ./eval.py ./
|
|
|
|
ARG KAGGLE_KEY
|
|
ARG KAGGLE_USERNAME
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
# RUN ./download.sh
|
|
|
|
# CMD ./ium-data.py
|
|
|