ium_478815/Dockerfile

46 lines
999 B
Docker

FROM ubuntu:latest
RUN apt-get update -y
RUN apt update
RUN apt-get update
RUN apt install -y figlet
RUN export PATH=$PATH:/usr/local/bin/python”
RUN apt install python3-pip -y
RUN apt install unzip -y
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install torch
RUN pip3 install sklearn
RUN pip3 install matplotlib
RUN pip3 install sacred
RUN pip3 install numpy
RUN pip3 install wheel --no-deps -U
RUN pip3 install GitPython
RUN pip3 install pymongo
RUN pip3 install mlflow
RUN pip3 install fastai
RUN apt-get install unzip
RUN pip3 install dvc
ARG CUTOFF
ENV CUTOFF=${CUTOFF}
RUN mkdir ~/.kaggle/
RUN echo '{"username":"kgirejko","key":"51854c15661583860a60db232a7026f0"}' > ~/.kaggle/kaggle.json
WORKDIR /app
COPY ./skrypt.sh ./
COPY ./skrypt_stats.sh ./
COPY DL.py .
COPY train-sacred.py .
COPY train-mlflow.py .
COPY evaluation.py .
COPY data.csv .
CMD ./skrypt.sh
RUN pip3 install dvc[ssh] paramiko
RUN apt install -y sshpass openssh-client
RUN useradd -r -u 111 jenkins