2023-05-11 20:49:42 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y python3.10 python3-pip && \
|
|
|
|
pip3 install --upgrade pip
|
|
|
|
|
2023-05-14 13:20:32 +02:00
|
|
|
RUN pip3 install kaggle
|
|
|
|
RUN pip3 install pandas
|
|
|
|
RUN pip3 install scikit-learn
|
2023-06-06 21:51:04 +02:00
|
|
|
RUN pip3 install tensorflow==2.12.*
|
2023-06-06 21:28:14 +02:00
|
|
|
RUN pip3 install torch torchvision
|
2023-06-06 21:37:24 +02:00
|
|
|
#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
|
2023-06-06 20:33:02 +02:00
|
|
|
RUN pip3 install pickle5
|
2023-06-07 00:34:30 +02:00
|
|
|
RUN pip3 install sacred
|
|
|
|
RUN pip3 install pymongo
|
2023-05-12 22:02:43 +02:00
|
|
|
|
2023-09-29 19:47:34 +02:00
|
|
|
RUN pip3 install dvc[ssh] paramiko
|
|
|
|
|
2023-09-29 19:56:45 +02:00
|
|
|
RUN mkdir -p ~/miniconda3
|
2023-09-29 19:47:34 +02:00
|
|
|
|
2023-09-29 19:56:45 +02:00
|
|
|
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
|
|
|
|
|
2023-09-29 20:03:25 +02:00
|
|
|
|
2023-09-29 20:00:42 +02:00
|
|
|
|
2023-09-29 19:56:45 +02:00
|
|
|
RUN ~/miniconda3/bin/conda init bash
|
2023-09-29 19:47:34 +02:00
|
|
|
|
2023-09-29 20:03:25 +02:00
|
|
|
|
2023-09-29 20:08:16 +02:00
|
|
|
|
|
|
|
RUN ~/miniconda3/bin/conda install -c conda-forge dvc-ssh
|
2023-09-29 19:47:34 +02:00
|
|
|
|
|
|
|
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
|
2023-05-12 22:08:22 +02:00
|
|
|
#RUN apt install python3.10-venv -y
|
2023-05-12 22:02:43 +02:00
|
|
|
#RUN python3 -m venv docker_ium
|
|
|
|
|
|
|
|
|
2023-05-11 20:49:42 +02:00
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
|
2023-05-12 21:52:39 +02:00
|
|
|
#RUN python3 -m pip install pandas
|
|
|
|
|
2023-05-12 21:35:09 +02:00
|
|
|
#RUN pip3 install tensorflow==2.12.*
|
2023-05-11 20:49:42 +02:00
|
|
|
|
2023-05-12 20:46:44 +02:00
|
|
|
|