From 90dd91a788aa7a3f23193793bb27c85ced6108e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Sun, 26 Jun 2022 13:10:45 +0200 Subject: [PATCH] Zaktualizuj 'Dockerfile' --- Dockerfile | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cca6e4..2731156 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ 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 pymongo RUN pip3 install mlflow @@ -36,21 +36,22 @@ COPY ./skrypt.sh ./ COPY ./init.py ./ # COPY ./understat.csv ./ COPY ./ml_pytorch_mlflow.py ./ +COPY ./prediction-s444409.py ./ -RUN pip3 install dvc -RUN pip3 install dvc[ssh] paramiko -RUN apt-get remove openssh-client -ENV TZ=Europe/Warsaw -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +# RUN pip3 install dvc +# RUN pip3 install dvc[ssh] paramiko +# RUN apt-get remove openssh-client +# ENV TZ=Europe/Warsaw +# RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -RUN apt update -RUN apt install -y tzdata -RUN apt-get update -RUN apt-get install -y openssh-server +# RUN apt update +# RUN apt install -y tzdata +# RUN apt-get update +# RUN apt-get install -y openssh-server -RUN apt install -y sshpass openssh-client -RUN useradd -r -u 111 jenkins +# RUN apt install -y sshpass openssh-client +# RUN useradd -r -u 111 jenkins # Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie CMD ./skrypt.sh \ No newline at end of file