ium_444018/Dockerfile

45 lines
867 B
Docker
Raw Normal View History

2022-03-30 00:10:03 +02:00
FROM ubuntu:latest
2022-04-03 22:24:43 +02:00
RUN apt-get update
2022-04-03 22:29:35 +02:00
RUN apt-get install -y python3-pip
2022-04-03 22:24:43 +02:00
RUN apt-get install -y unzip
2022-03-30 09:21:37 +02:00
2022-04-03 22:29:35 +02:00
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install sklearn
2022-04-03 22:32:18 +02:00
RUN pip3 install numpy
2022-03-30 00:10:03 +02:00
RUN pip3 install matplotlib
RUN pip3 install torch
2022-05-11 23:57:00 +02:00
RUN pip3 install sacred
2022-05-11 23:58:28 +02:00
RUN pip3 install pymongo
2022-05-16 02:27:09 +02:00
RUN pip3 install mlflow
2022-05-16 02:50:13 +02:00
RUN pip3 install GitPython
2022-04-03 22:24:43 +02:00
ARG CUTOFF
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV CUTOFF=${CUTOFF}
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
2022-03-30 00:10:03 +02:00
2022-04-03 22:24:43 +02:00
WORKDIR /app
COPY lab2/download.sh .
COPY biblioteka_DL/dllib.py .
2022-05-09 01:24:28 +02:00
COPY biblioteka_DL/evaluate.py .
2022-05-08 23:54:41 +02:00
COPY biblioteka_DL/imdb_top_1000.csv .
2022-05-16 01:58:32 +02:00
COPY predict.py .
COPY registry.py .
2022-04-03 22:24:43 +02:00
2022-04-03 22:48:56 +02:00
RUN chmod +x ./download.sh
2022-04-03 23:23:32 +02:00
RUN ./download.sh
RUN pip3 install dvc
RUN pip3 install dvc[ssh] paramiko
RUN apt install -y sshpass openssh-client
RUN useradd -r -u 111 jenkins
#CMD python3 ./dllib.py