Zaktualizuj 'Dockerfile'
This commit is contained in:
parent
1f299362e2
commit
90dd91a788
25
Dockerfile
25
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
|
Loading…
Reference in New Issue
Block a user