ium_444356/Dockerfile
Maciej Czajka b735799bd1
Some checks are pending
s444356-evaluation/pipeline/head Build queued...
s444356-training/pipeline/head Build queued...
update dockerfile and add dvc.yaml, jenkinsfile_dvc
2022-06-02 22:52:54 +02:00

51 lines
1.2 KiB
Docker
Executable File

FROM ubuntu:latest
FROM python:3.9
RUN apt-get update
RUN apt-get install -y python3-pip
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade Pillow
RUN pip3 install kaggle
RUN pip3 install pandas
RUN pip3 install matplotlib
RUN pip3 install sklearn
RUN pip3 install numpy
RUN pip3 install wheel --no-deps -U
RUN pip3 install torch
RUN pip3 install sacred
RUN pip3 install GitPython
RUN pip3 install pymongo
RUN pip3 install mlflow
#RUN pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/#tensorflow-0.12.0-py3-none-any.whl
#RUN pip3 install keras
RUN apt-get install unzip
ARG CUTOFF
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
ENV CUTOFF=${CUTOFF}
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
RUN mkdir /dane
WORKDIR /app
COPY download.sh .
COPY Zajecia_2/main.py .
COPY Biblioteka_DL/dllib.py .
COPY Biblioteka_DL/dllib-sacred.py .
COPY Biblioteka_DL/evaluate.py .
COPY Biblioteka_DL/dllib-mlflow.py .
COPY predict.py .
COPY registry.py .
COPY Biblioteka_DL/all_games.csv .
RUN ./download.sh $CUTOFF
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"]