49 lines
1.3 KiB
Docker
49 lines
1.3 KiB
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y python3.10 python3-pip && \
|
|
pip3 install --upgrade pip
|
|
|
|
RUN pip3 install kaggle
|
|
RUN pip3 install pandas
|
|
RUN pip3 install scikit-learn
|
|
RUN pip3 install tensorflow==2.12.*
|
|
RUN pip3 install torch torchvision
|
|
#RUN pip install torch==1.8.0+cpu torchvision==0.9.0+cpu torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
|
|
RUN pip3 install pickle5
|
|
RUN pip3 install sacred
|
|
RUN pip3 install pymongo
|
|
|
|
RUN pip3 install dvc[ssh] paramiko
|
|
|
|
RUN mkdir -p ~/miniconda3
|
|
|
|
RUN apt-get install -y wget
|
|
|
|
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
|
|
|
|
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
#RUN python3 -m pip install pandas
|
|
|
|
#RUN pip3 install tensorflow==2.12.*
|
|
|
|
|