ium_444501/Dockerfile
2022-06-04 20:37:22 +02:00

37 lines
650 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 mkdir /.kaggle && chmod o+w /.kaggle
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
RUN pip3 install dvc
RUN pip3 install dvc[ssh]
RUN useradd -r -u 111 jenkins
RUN apt install -y sshpass openssh-client