modify dockerfile for dvc

This commit is contained in:
eugene 2023-09-29 19:47:34 +02:00
parent f117abde03
commit 664a429bba

View File

@ -14,6 +14,22 @@ RUN pip3 install pickle5
RUN pip3 install sacred
RUN pip3 install pymongo
RUN pip3 install dvc[ssh] paramiko
RUN mkdir -p ~/miniconda3
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
RUN bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
RUN rm -rf ~/miniconda3/miniconda.sh
RUN ~/miniconda3/bin/conda init bash
RUN conda install -c conda-forge dvc-ssh
RUN apt install libssl3 libffi7
RUN dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl
RUN dvc remote list
RUN dvc remote modify --local ium_ssh_remote password IUM@2021
RUN dvc push
#RUN apt install python3.10-venv -y
#RUN python3 -m venv docker_ium